Create a new project named intermediate22 project

Assignment Help Basic Computer Science
Reference no: EM131210626

The payroll manager at Gerston Blankets wants a program that calculates and displays the gross pay for each of the company's employees. It also should calculate and display the total gross pay. The payroll manager will enter the number of hours the employee worked and his or her pay rate. Employees working more than 40 hours should receive time and one-half for the hours over 40. Use a value-returning function to determine an employee's gross pay. Use a different value-returning function to accumulate the total gross pay. The program should display the total gross pay only after the payroll manager has finished entering the data for all the employees. Use a sentinel value to end the program. a. Create IPO charts for the problem, and then desk-check the algorithm using the following four sets of hours worked and pay rates: 35, $10.50; 43, $15; 32, $9.75; 20, $6.45.

b. List the input, processing, and output items, as well as the algorithm, in a chart similar to the one shown earlier in Figure 9-48. Then code the algorithm into a program.

c. Desk-check the program using the same data used to desk-check the algorithm.

d. If necessary, create a new project named Intermediate22 Project. Enter your C++ instructions into a source fi le named Intermediate22.cpp. Also enter appropriate comments and any additional instructions required by the compiler.

e. Save and then run the program. Test the program using the same data used to desk-check the program.

331_15da3321-750d-42d3-be08-653f6dec1a75.png

Reference no: EM131210626

Write a function called tallenough

(function, two-way if statement) Write a function called tallEnough() that takes a single parameter, the user's height in inches. If the height is 48 or more, the function s

What are the advantages of https

How would it protect you using a public Wi-Fi connection at a local coffee shop? Should all Web traffic be required to use HTTPS? Why or why not? Write a one-page paper of y

Declare a variable

Assume the existence of a Window class with methods getWidth and getHeight, and a subclass TitledWindow, with a constructor accepts a string corresponding to the title of th

Probability of occurrence of four pairs in original sequce

What is the probability of occurrence of each of the four pairs in original sequence? Illustrate your work. What is the probability of occurrence of 0 and 1 in modified seque

Describe proper communication techniques

Summarize the process of addressing prohibited content/activity, and explain privacy, licensing, and policy concepts. Describe proper communication techniques and professional

Give a polynomial time reduction

Give a polynomial time reduction from the 3-Color (coloring a graph so that no vertices adjacent to each other have the same color using 3 colors) problem to 3-CNF SAT.

Corporate embezzlement

Imagine you are employed by a large city police department as the leader of the digital forensics division. A large corporation in the city has contacted the police for assi

Determine the problem causing the lamp to not work

The following flowchart is for a module to resolve a problem with a lamp. The job of this flowchart is to determine the problem causing the lamp to not work or to determine

Reviews

Write a Review

 
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd