This question provide the error The hackSalary method should increase the input parameter by 1000 and output text to the screen according to the specified template. please someone explain to me what i did wrong here.
package com.codegym.task.task02.task0205;
/*
Pay raise
*/
public class Solution {
public static void main(String[] args) {
hackSalary(7000);
}
public static void hackSalary(int a) {
//write your code here
// int result = a + 1000;
System.out.println(" Your salary is: " + (a + 1000) + " dollars per month" );
}
}