Advertisement
akosiraff

attending-de-anza

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