public static void salary(int a) {
int b = a+1000;
System.out.println("Your salary is: "+b+" dollars per maonth");
}
still i am getting "looks like you have forgot to add 1000" message
Under discussion
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
manoj deo
2 September 2018, 14:37
month instead of moanth
0
Pavlo Plynko Java Developer at CodeGym
21 August 2018, 06:34useful
looks like you made a typo
+1