Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: https://solutionzip.com/downloads/attending-de-anza/
- Write a program to calculate your costs for attending De Anza this quarter.
- 1) Input – to be done in main()
- Prompt the user for and input the number of units.
- Prompt the user for and input the amount for student fees.
- 2) Calculate the total (do not consider parking)
- Unit cost should be given as a # define.
- Must use a function to calculate the total. The function must have the following prototype (declaration).
- double calcTuition(double units, double studentFees);
- 3) Output the total amount.
- You must use a function to output the total. The function must have the following prototype (declaration).
- void output(double total);
- Download: https://solutionzip.com/downloads/attending-de-anza/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement