4. Write a complete C++ program to calculate the wages of employees which are based on the number of hours worked times the hourly rate. The user must type in the employee number, the number of hours the employee has worked and the hourly rate. Your output should look like the following: Please enter the employee number: 1090 Please enter the hours worked and the hourly rate: 35 10 Employee number: 1090 Hours worked: |Hourly rate: Total wages: Do you want to process another data? Type 'y' for yes, 'n’ for no: y 35 RM 10 RM 350 Please enter the employee number: 2121 Please enter the hours worked and the hourly rate: 40 11 Employee number: 2121 Hours worked: Hourly rate: Total wages: Do you want to process another data? Type 'y' for yes, 'n’ for no: n 40 RM 11 RM 440 am.me lalaysia
4. Write a complete C++ program to calculate the wages of employees which are based on the number of hours worked times the hourly rate. The user must type in the employee number, the number of hours the employee has worked and the hourly rate. Your output should look like the following: Please enter the employee number: 1090 Please enter the hours worked and the hourly rate: 35 10 Employee number: 1090 Hours worked: |Hourly rate: Total wages: Do you want to process another data? Type 'y' for yes, 'n’ for no: y 35 RM 10 RM 350 Please enter the employee number: 2121 Please enter the hours worked and the hourly rate: 40 11 Employee number: 2121 Hours worked: Hourly rate: Total wages: Do you want to process another data? Type 'y' for yes, 'n’ for no: n 40 RM 11 RM 440 am.me lalaysia
Chapter2: Using Data
Section: Chapter Questions
Problem 7E: Write a C# program named ProjectedRaises that includes a named constant representing next years...
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning