Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need to see the program in C++: You are to write a payroll application for a company. You should prompt the user to input

I need to see the program in C++: image text in transcribedYou are to write a payroll application for a company. You should prompt the user to input two values in the following order. 1. The number of hours they worked. Our company only pays employees for full hours of work and do not count partial hours. Employees are not allowed to round up the time worked. So, 5 would be a valid input, but 5.7 would not be. 2. The hourly rate of the employee in USD (United States Dollars) to be inputted, for example, as: 12.30 Output the amount of money the company owes the employee.

You are to write a payroll application for a company. You should prompt the user to input two values in the following order. 1. The number of hours they worked. Our company only pays employees for full hours of work and do not count partial hours. Employees are not allowed to round up the time worked. So, 5 would be a valid input, but 5.7 would not be. 2. The hourly rate of the employee in USD (United States Dollars) to be inputted, for example, as: 12.30 Output the amount of money the company owes the employee. Programming Assignment Criteria Ratings Pts Comments Some degree of documentation must be in the program or 10 points will be lost 10.0 pts Full Marks 0.0 pts No Marks 10.0 pts Compile So long as a program compiles correctly 30 points are given. 30.0 pts Full Marks 0.0 pts No Marks 30.0 pts Input Taken These points are given if the program correctly takes in the input given to the program. 10.0 pts Full Marks 5.0 pts Partly Correct / Incorrect If there are some errors in reading input half credit for this section. 0.0 pts No Marks 10.0 pts Output Given Some output is given in the correct format. 10.0 pts Full Marks 5.0 pts Partly Correct / Incorrect If there are some errors in output half credit for this section. 0.0 pts No Marks 10.0 pts Correct Calculations The program correctly uses the required components that are stated in the program description as well as manipulates / calculates any values correctly. 40.0 pts Full Marks 30.0 pts Imperfect The calculation of the value is either slightly off OR some required elements are not in the program 15.0 pts Some Marks Program is missing most required elements OR some required elements and the calculated values are wrong. 0.0 pts No Marks 40.0 pts

Step by Step Solution

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_2

Step: 3

blur-text-image_3

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

Database Systems On GPUs In Databases

Authors: Johns Paul ,Shengliang Lu ,Bingsheng He

1st Edition

1680838482, 978-1680838480

More Books

Students also viewed these Databases questions

Question

Examine various types of executive compensation plans.

Answered: 1 week ago

Question

1. What is the meaning and definition of banks ?

Answered: 1 week ago

Question

2. What is the meaning and definition of Banking?

Answered: 1 week ago

Question

3.What are the Importance / Role of Bank in Business?

Answered: 1 week ago