Generalizing a program

This assignment tests your ability to generalize a program.

Write a program that does exactly the same thing as our generalized payroll program.

Use your program to answer the following question: What is the net pay of someone who makes 13.22 per hour, works 42 hours and pays 22% tax? Check your answer by hand to be sure it is correct, then turn in a screen shot of your program running with those inputs and the listing of the program.


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.