I don't know what is wrong ,last condition is showing error.
public class Solution {
public static void main(String[] args) {
hackSalary(7000);
}
public static void hackSalary(int a) {
int b=a+1000;
System. out. print("Your salary is: " +b+
" dallors per month. ");
}
}
Please help me out :-(
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) {
int b=a+1000;
System. out. print("Your salary is: " +b+
" dallors per month. ");
}
}