public class Solution {
public static void main(String[] args) {
hackSalary(7000);
}
public static void hackSalary(int a) {
//write your code here
int sal=a+1000;
System.out.println("Your salary is : " + sal + " dollars per month");
}
}
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 sal=a+1000;
System.out.println("Your salary is : " + sal + " dollars per month");
}
}