Search:

Type: Posts; User: Mckooy

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,831

    The code is going round on a loop and everytime I...

    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;




    /*************************************************/
    /**** ...
  2. Replies
    4
    Views
    1,831

    Adding variables

    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...
  3. Replies
    1
    Views
    1,483

    Floating point number

    How can i limit a floating point number to 2 decimal places?
  4. Replies
    3
    Views
    967

    Yes its meant to exit to next stop when pressed,...

    Yes its meant to exit to next stop when pressed, is no longer set to anything and still get the problem.
  5. Replies
    3
    Views
    967

    Simple C 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;

    ...
Results 1 to 5 of 5