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

Questions Cloud

What ways does the class song contradict mcintyre claims : Next, apply McIntyre's model to the song you chose for your research assignment. What aspects of McIntyre's theory of songwriting apply well to your song and/or in what ways does your case (your song and/or songwriter) contradict McIntyre's claims..
Discuss changes in the market background factors of demand : Discuss specific changes in the market background factors of demand in the last five years (2011-2016) for this product. Discuss how the brand maker responded to these market changes in these background factors.
Compute taxable income and tax liability and the tax savings : Asok is single, uses the standard deduction, and has only his personal exemption. - Compute his taxable income, the tax liability, and the tax savings from the alternative tax on net capital gain.
Index increased at an average annual rate : One of our presidential candidates is wealthy largely because his/her father was wealthy. Assume that he/she inherited $50 million in 1975 (exactly 40 years ago) and invested his inheritance in a mutual fund that tracks the S&P 500 index. If the S..
Create a new project named intermediate22 project : 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.
Opportunity cost of attending the concert equals : Carl is considering attending a concert with a ticket price of $35. He estimates that the cost of driving to the concert and parking there will total an additional $20. In order to attend the concert, Carl will have to take time off from his part-..
After-tax holding-period return on the bond : a . Find the holding-period return for a 1-year investment period if the bond is selling at a yield to maturity of 6% by the end of the year. b. If you sell the bond after 1 year, what taxes will you owe if the tax rate on interest income is 35% ..
Discuss the elements of a good fraud report : What does it mean to create a "Culture of Honesty, Openness, and Assistance?" Give an example from an organization with which you have been affiliated.
Write a matlab program to compute the kalman gain : Write a MATLAB program gain.m to compute the Kalman gain K(n) for a stationary process with: x(n) = Ax(n - 1) + w(n)

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What basic steps are required for analyzing data using micro

Write a 200 word response that answers the following questions: What basic steps are required for analyzing data using Microsoft®Access®? How could these steps help you diagnose and troubleshoot Microsoft®Access®errors? Which of the five steps presen..

  Create account ease of use age appropriateness

Go through and find2 NETS standardshttp://www.iste.org/standards/nets-for-studentsfor each of the above lesson plans you chose and explain why they would be met when using this Web 2.0 tool with the lesson plan you chose.

  What changes would have to be made

Suppose we wished to add at-most-once semantics to Sun RPC. What changes would have to be made? Explain why adding one or more fields to the existing headers would not be sufficient.

  How the carries are connected between the msi circuits

Use a block diagram with nine inputs and five outputs for each 4-bit adder. Show how the carries are connected between the MSI circuits.

  Infrastructure document and a revised project plan

This assignment consists of two (2) sections: an infrastructure document and a revised project plan. You must submit both sections as separate files for the completion of this assignment. Label each file name according to the section of the assign..

  Describe the requirements engineering process

Describe the requirements engineering process depicted in figure 9.1 in a state transition diagram. Discuss the advantages and limitations of the resulting process description.

  Discuss measures that could be taken to reduce the risks

Discuss measures that could be taken to reduce the risks

  8-bit two''s complement numbers

Give the 8-bit two's complement representations of the following integers: 55, 83, -79, -88.Give the integer (in standard base-10 notation) which is represented by each of the following 8-bit two's complement numbers: 10000000, 11110011, 11111111.

  Explanation of how technology might help you reach your goal

explanation of how technology might help you reach your goals

  Appropriate data structure for representing numbers

Your first task will be to come up with an appropriate data structure for representing numbers of arbitrary potential length in base 215. You will have to deal with large negative numbers also

  Calculate and display height and cost of container

Compute and display the height and cost of the container. Use the following formulas, where V is the volume, r is the radius, h is the height, and C is the cost.

  Starting and naming a business

Shania Jackson is a mature Christian thinking of opening a Christian coffeehouse near Denver, Colorado. Her husband, Marvin, is open to making a contribution of capital to the business, but he has no interest in participating in its operation or m..

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