Question
1. use of data type variable declarations (character ) 2. Const variable declaration and assignments 3. Process a simple character data manipulation 4. Reinforcement of
1. use of data type variable declarations (character )
2. Const variable declaration and assignments
3. Process a simple character data manipulation
4. Reinforcement of previous project
Program description:
Write the necessary C++ statements (Program) to calculate the employee's regular pay, overtime pay, and total weekly pay.
Write the variable declarations and initialization sections necessary to compute and print the required calculations. The program should ask the user to input the employee's Code,hours, and Rate of pay.
Where :
Hour = employee's work hours
Rate = employee's hourly pay
Overtime = employee's over time hours
Wages = employee's weekly pay
Code = employee's status (declare as character)
1) A full-time employee receives time-and-half for all hours worked in excess of 40.
2) run the program twice for the following data:
Given that ( Hours= 40.00 and , Rate = $11.45)
Given that (Hours= 60.00 and, Rate = $15.00)
Program should produce the following output:
Employee's code is 'F'
The regular pay is $ xx.xx
The over time pay is $ xx.xx
Total wages is $ xx.xx
It was a nice program
Hint: Modify program in project 2
Submit:
a) IPO chart
b) Flowchart
c) Source code
d) output of the program
Step 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