Question
Develop a program to prompt the user to enter an employees name, the number of hours the employee has worked for the week and the
- Develop a program to prompt the user to enter an employee’s name, the number of hours the employee has worked for the week and the employee’s hourly pay rate. The program must calculate and print the employee’s gross pay. Gross pay is calculated by multiplying the hours worked by the hourly pay rate.
- Output Format:
- Employee name – xxxxxxxxxxxxxx
- Gross Pay - ###,##
- Run the program with the following data:
- Employee Hours Worked Hourly Pay Rate
- Mary Jones 40 20
- Mark Smith 35 25
- Peter Piper 30 22
- Mary Contrary 15 19
Step by Step Solution
3.50 Rating (150 Votes )
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 StartedRecommended Textbook for
College Accounting A Contemporary Approach
Authors: David Haddock, John Price, Michael Farina
3rd edition
77639731, 978-0077639730
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App