A. write the IPO charts for a program that contains four value returning functions: Main ( ), getHoursWorked ( ) , getPayRate( ) , and calcGross ( ). The main ( ) funtion should call each function, then display the gross pay on the screen. When coding the calcGross ( ) 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.
B. Use the File menu to create a new Win32 console Application. Assign the names ch9AppE05 project and ch9AppE05 solution to the project and solution, respectively. Save the application in the Cpp5Chap09 folder. Add a new C++ source file to the project. Name the source file Ch9AppE05.
C. use the Ipo charts you created in step a to code the program. Display the gross pay with a dollar sign and two decimal places.
D. complete a desk check table for the program using the following two sets of data:
25.5 hours, $ 12 per hour
40 hours, $ 11.55 per hour.
E. Save and then build the solution. Execute the program. Use the data from step to test the program. When the program is working correctly, use the file menu to close the solution details
Recently Asked Questions
- Sally bought her first house. The price was $200,000. She paid a down payment of 10% - $20,000. The remainder of the purchase price was paid with a bank
- Explain the Herzberg model, and give examples of each content.
- Consider a utility function: Utility=5√(income). Your income is $144, but there is an illness going around the area that costs $95 to cure. There is a 20%