Reference no: EM131210800
In this exercise, you create a program that calculates and displays gross pay amounts. The user will enter the number of hours an employee worked and his or her pay rate. The program should contain four value-returning functions: main, get Hours Worked, get Pay Rate, and calc Gross. The main function should call each of the other three functions and then display the gross pay on the screen. When coding the calc Gross function, you do not have to worry about overtime pay. You can assume that everyone works 40 or fewer hours per week. The hours worked and rate of pay may contain a decimal place. Use a sentinel value to end the program.
a. Create IPO charts for the problem, and then desk-check the algorithm using the following two sets of hours worked and pay rates: 25.5, $12; 40, $11.55.
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 Advanced24 Project. Enter your C++ instructions into a source fi le named Advanced24.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.
What is the company net income
: The Moore Corporation had operating income (EBIT) of $750,000. The company's depreciation expense is $187,500. Moore is 100% equity financed, and it faces a 40% tax rate. What is the company's net income?
|
List and discuss the five transaction properties
: List and discuss the five transaction properties. What is a transaction log, and what is its function? What is a deadlock, and how can it be avoided? Discuss several strategies for dealing with deadlocks.
|
What are the special lending facilities created by the fed
: What are the special lending facilities created by the Fed in response to the financial crisis of 2007- 2009? What does each do?- Why were they created?
|
What are advantages of a lagged reserve accounting period
: Under contemporaneous reserve accounting, how does the computation period correspond with the maintenance period? -What are the advantages of a lagged reserve accounting period?
|
Create ipo charts for the problem
: If necessary, create a new project named Advanced24 Project. Enter your C++ instructions into a source fi le named Advanced24.cpp. Also enter appropriate comments and any additional instructions required by the compiler.
|
Will the fed typically respond with outright purchases
: The float increases unexpectedly. - Will the Fed typically respond with outright purchases or temporary purchases?
|
What is the estimated monthly contribution margin
: What is the estimated monthly contribution margin per cable subscriber for CableVision in 2016 - What are the estimated total monthly fixed costs for CableVision in 2016?
|
How does the ad promote a specific want or need
: Identify the type of customer (culture, subculture, lifestyle, values/beliefs, social class, etc.) the ad would appeal to. How does the ad promote a specific want or need? Is the ad effective? Is it persuasive? Why or why not?
|
Insert the text from the grader data file
: Type Internship Available for Photography Assistant and then press ENTER. Insert the text from the grader data file go_w01_grader_a1_Assistant.
|