Respuesta :

Answer:

#include <iostream>

using namespace <std>;

double calcTuition(double units, double studentFees);

void output(double total);

int main{

   double unitCost, schoolFees, total;

   cin >>"Enter unit cost: " >> unitCost;

   cin >>"Enter school fees: " >> schoolFees;

   total = calcTuition( unitCost, schoolFees );

   output( total );

}

double calcTuition(double units, double studentFees){

   return unit * studentFees;

}

void output(double total){

   cout << " Total: " << total;

}

Explanation:

The C++ console source code prints out the total cost of a student's tuition. The student is prompted to input the units and the school fees and the total is displayed excluding parking fees.