Ask Experts Questions for FREE Help !
Ask

Search:

Type: Posts; User: Perito

Search: Search took 0.01 seconds.

  1. Answers
    3
    Views
    1,063

    In your original program, calculateCharges...

    In your original program, calculateCharges appeared to be in a reasonable place. I'm not sure why you had it there twice.

    I'm not sure why you put "cin >> car1 >> calculateCharges(car1 ,b);"...
  2. Answers
    3
    Views
    1,063

    calculateCharges(double b, double c, double a); ...

    calculateCharges(double b, double c, double a);

    You don't seem to be passing any values here. It should be something like:

    calculateCharges(hours, b, a)

    and you don't need the 'double'...
Results 1 to 2 of 2