Question: Compile your program using the JDK or a Java IDE as directed by your instructor. 2 . You should not receive any error messages. 3

Compile your program using the JDK or a Java IDE as directed by your instructor.
2. You should not receive any error messages.
3. When this program is executed, it will ask the user for input. You should calculate several
different cases by hand. Since there is a critical point at which the calculation changes, you
should test three different cases: the critical point, a number above the critical point, and a
number below the critical point. You want to calculate by hand so that you can check the logic of
the program. Fill in the chart below with your test cases and the result you get when calculating
by hand.
4. Execute the program using your first set of data. Record your result. You will need to execute the
program three times to test all your data. Note: you do not need to compile again. Once the
program compiles correctly, it can be executed many times. You only need to compile again if
you make changes to the code.
Hours Rate Pay (hand
calculated)
Pay (program
result)
4010400400.0
3010300300.0
4510475475.0

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 Databases Questions!