Please help me !!!

beginner1432 (11)
double
Last edited on
moorecm (1802)
What does it do?
mikeecb (53)
Little spelling mistakes can mean all the difference. In line 7 you typed double numgallons whereas in 12 you typed numGallons. Choose one and use the same one throughout.
beginner1432 (11)
ok i will try it now
beginner1432 (11)
thank you very much :) it works now, now i have to do also how far the car can go with the gas in the tank but i think i will try to do it bymyself :)
mikeecb (53)
No problem. Just remember that variable names are case specific. Also, if you get a good compiler, it will tell you where your problem is and it will be easier to find it in future. I use CodeRunner / XCode on my Mac
Last edited on
beginner1432 (11)
i know that but becouse i haven't practice it to much i'm doing mistakes, i have only 2 weeks using c++
Topic archived. No new replies allowed.