Question: OBJECTIVES: Enter and successfully run a C or C++ program Use console input to read data from the keyboard Calculate regular and overtime pay using
OBJECTIVES: Enter and successfully run a C or C++ program Use console input to read data from the keyboard Calculate regular and overtime pay using if...else statements Use console output to display data to the monitor DESCRIPTION: Design a C or C++ program that does the following: 1) Read the number of hours worked and the pay rate, 2) compute the pay including overtime at time-and-a-half 3) display the gross pay, not including taxes or any other deductions LAB REPORT: Fill in the TEST VALUES&RESULTS table Fill in the Test Data Values and Expected Results as shown on the lab assignment from Moodle Fill in the Actual Results after you have run and tested your program DISCUSSION: Complete the DISCUSSION section. It does not need to be long, but it needs to be complete. What did you do to develop the program? ("Followed the Directions" is not a complete description What problems did you have and how did you overcome the problems? PROGRAM OUTPUT: Show three screen shots of the program. a) A paycheck computed when the hours worked is less than 40 b) A paycheck computed when the hours worked is equal to 40 c) A paycheck computed when the hours worked is greater than 40
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
