my program is correct . and output showing while running the code is: Your salary is:8000 dollars per month.
but when I am heading towards verifying. the test was failed . and the notification for the task is ::: Carefully check the displayed text. It looks like you made a typo or forgot to add 1000.
I can't understand what is ground in my code ... plz, help...
package com.codegym.task.task02.task0205;
/*
Pay raise
*/
public class Solution {
public static void main(String[] args) {
salary(7000);
}
public static void salary(int a) {
a=a+ 1000;
System.out.println("Your salary is:" +a+ " dollars per month.");
}
}
salaryin line no. 9 and 12. Hope this will help you. Thank you