fbpx

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);

×
New Download