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 a =
System.out.println(Your salary is: <a+1000> dollars per month.");
}
}
I do not know how to solve this, please help me with explanations
Under discussion
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Florin
27 June 2019, 17:32
a+=1000;
System.out.println("Your salary is: " + a + " dollars per month.");
+1