so is this anywhere close to what i'm supposed to do?

/* Calculate the total charges and the total hours for the

parking garage. */

#include <iostream>

using std::cout;

using std::cin;

using std::endl;

fxn userValues(a, b, c);

fxn calcCharges(double hoursa, double hoursb, double hoursc);

fxn calcTotalHrs(double hoursa, double hoursb, double hoursc);

fxn calcTotalCharges(double hoursa, double hoursb, double hoursc);

int main()

{

userValues a, b, c;

cout<<"Enter the number of hours for CAR 1:";

cin>>a;

cout<<"Enter the number of hours for CAR 2:";

cin>>b;

cout<<"Enter the number of hours for CAR 3:";

cin>>c;

calcCharges(double hoursa, double hoursb, double hoursc);

calcTotalHrs(double hoursa, double hoursb, double hoursc);

calcTotalCharges(double hoursa, double hoursb, double hoursc);

return 0;

}

void calcCharges(double hoursa, double hoursb, double hoursc);

{

double costa = 0;

double costb = 0;

double costc = 0;

double totalhours = 0;

if(hoursa <= 3)

costa = 2;

else if (hoursa >= 17)

costa = 10;

else

costa = 2 + ((hoursa-3) * .5);

if(hoursb <= 3)

costb = 2;

else if (hoursb >= 17)

costb = 10;

else

costb = 2 + ((hoursa-3) * .5);

if(hoursc <= 3)

costc = 2;

else if (hoursc >= 17)

costc = 10;

else

costc = 2 + ((hoursc-3) * .5);

}

void calcTotalHrs(double hoursa, double hoursb, double hoursc);

totalhours = hoursa + hoursb + hoursc;

}

void calcTotalCharges(double hours, double hoursb, double hoursc);

{

double costa = 0;

double costb = 0;

double costc = 0;

double totalcost =0;

if(hoursa <= 3)

costa = 2;

else if (hoursa >= 17)

costa = 10;

else

costa = 2 + ((hoursa-3) * .5);

if(hoursb <= 3)

costb = 2;

else if (hoursb >= 17)

costb = 10;

else

costb = 2 + ((hoursa-3) * .5);

if(hoursc <= 3)

costc = 2;

else if (hoursc >= 17)

costc = 10;

else

costc = 2 + ((hoursc-3) * .5);

totalcost = costa + costb + costc;

cout<<"CAR 1 CHARGES: "<<costa<<endl;

cout<<"CAR 2 CHARGES: "<<costb<<endl;

cout<<"CAR 3 CHARGES: "<<costc<<endl;

cout<<"TOTAL: "<<totalhours<< " hours, $"<<totalcost<<endl;

}