The code is going round on a loop and everytime I need it to add the prevoius result to the total which it total passengers;
/*************************************************/
/**** ...
Type: Posts; User: Mckooy
The code is going round on a loop and everytime I need it to add the prevoius result to the total which it total passengers;
/*************************************************/
/**** ...
I need to add to variable and get the result to be held in another variable, here what ive out but its giving me errors:
printf("The total number of passengers onboard is %d\n\n", &totalpassengers...
How can i limit a floating point number to 2 decimal places?
Yes its meant to exit to next stop when pressed, is no longer set to anything and still get the problem.
Needing to make a application in Visual C++ that can will be used on a bus ticketing programme. I get no errors in my code but when I run it and enter the first number it errors can any one help;
...