Question: 1. Enter the attached program into your IDE 2. Correct any errors until the program is error free 3. Run the program with several test


1. Enter the attached program into your IDE 2. Correct any errors until the program is error free 3. Run the program with several test data to make sure it works as expected 4. Add a new variable to hold the pay for a full week of 40 hours. 5. Use the new variable to Print the total pay if the employee works 40 hours (see Sample Run2 below). DO NOT PRINT THE VALUE FROM A STRING LITERAL! Sample Run1 How many hours did you work? 20 How much do you get paid per hour? 10 You have earned $200 Press any key to continue... Sample Run2 - with additional code How many hours did you work? 20 How much do you get paid per hour? 10 You have earned $200 You would have earned $400 for 40 hours of work
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
