Question: public class Salary { public static void main(String args) { int hourlyWage; hourlyWage = 20; System.out.print(Annual salary is: ); System.out.println(hourlyWage * 40 * 50); System.out.print(Monthly

public class Salary { public static void main(String args) { int hourlyWage; hourlyWage = 20; System.out.print("Annual salary is: "); System.out.println(hourlyWage * 40 * 50); System.out.print("Monthly salary is: "); System.out.println((hourlyWage * 40 * 50) / 1); // FIXME: The above is wrong. Change the 1 so the statement prints monthly salary. } }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!