System.out.println("Your salary is: "+ (a+1000) + " dollars per month.");
You must be signed in to leave a comment
16 June 2020, 07:15
That’s the line I have, it shows the increased amount but then says I didn’t add, despite it reflecting that I did
Sarah Beth Benes
28 June 2020, 18:43
You didn't increase a. So, this will print out the increase, but not save it. (To print the check). You need a second line. First increase a (a+=1000) Then print the line.
10 June 2020, 00:14
Make sure you're paying attention to the int lessons leading up to this one.