Question
/* * File: main.cpp * Author: YOUR NAME HERE * Created on DATE AND TIME * Purpose: Overtime */ //System Libraries Here #include #include using
/* * File: main.cpp * Author: YOUR NAME HERE * Created on DATE AND TIME * Purpose: Overtime */
//System Libraries Here #include
//User Libraries Here
//Global Constants Only, No Global Variables //Like PI, e, Gravity, or conversions
//Function Prototypes Here
//Program Execution Begins Here int main(int argc, char** argv) { //Declare all Variables Here float payRate; unsigned short hrsWrkd; //Input or initialize values Here cout>payRate>>hrsWrkd; //Calculate Paycheck
//Output the check //Exit return 0; }
PLEASE USE C++ LANGUAGE
Develop an application that will determine the gross pay for employees. The company pays "straight-time" for the first 20 hours worked, time and a half for all hours worked in excess of 20 hours but less than 40 hours, and double time for any hours worked over 40 hours. Inputs to the program would be hours worked and rate of pay. Output would be gross pay. Prompt coutStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started