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

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter2: Using Data
Section: Chapter Questions
Problem 7E: Write a C# program named ProjectedRaises that includes a named constant representing next years...
icon
Related questions
Question
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:
40
RM 11
RM 440
Do you want to process another data? Type 'y' for yes, 'n' for no: n
em.m
Jalaysia
Transcribed Image Text: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: 40 RM 11 RM 440 Do you want to process another data? Type 'y' for yes, 'n' for no: n em.m Jalaysia
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Algebraic Expressions
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning