Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

College Accounting A Contemporary Approach

Authors: David Haddock, John Price, Michael Farina

3rd edition

77639731, 978-0077639730

More Books

Students also viewed these Programming questions