Search:

Type: Posts; User: pass_prime

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    1,950

    The Logic

    The logic is that a person falls down an elevator shaft N number of feet, climbs up U number of feet/minute, then rests for one minute and slips back down D number of feet.

    So t = N - U which is...
  2. Replies
    10
    Views
    1,950

    C counter

    The c is just a counter for the number of loops.. or when i wrote it in the code did i make it something else?..

    Is it possible that my logic is correct but i didn't use the right statements to...
  3. Replies
    10
    Views
    1,950

    I posted my logic, can anyone point me inthe right direction

    /* The Variables:
    n = the initial depth
    u = the height I can climb in 1 minute
    d = the number of feet I slip back during rest
    assume d < u and n < 100
    a value...
  4. Replies
    5
    Views
    1,220

    Thank you very much for your help, it worked

    that worked, the program now does the looping and adding, thanks, even though i have the math incorrect, i now can work on that because i can see what is happening,, many thanks for your help.
    You...
  5. Replies
    5
    Views
    1,220

    thanks for the help

    I did what you said..I forgot and posted the un -edited code,, sorry for that,, now it will compile but not do the loop calculations.. this is where i am falling down,, all i need is direction of...
  6. Replies
    5
    Views
    1,220

    I can't see the Error, Newbie needs help

    I run the compiler and the code is ok for that, but it won't do the calculations or the looping i think. I can't wee where i have gone wrong, and i have to hand this in on Tuesday. Can anyon e see...
Results 1 to 6 of 6