Search:

Type: Posts; User: Norm

Search: Search took 0.31 seconds.

  1. [SOLVED] Re: Exercise that prints the cell phones' bills. Please help.

    What do you mean by "the previous iteration"?
    In a loop you would have a variable that saves the value from the previous iteration:

    int lastValue = -1; // will save value here
    for(....) {
    ...
  2. [SOLVED] Re: Exercise that prints the cell phones' bills. Please help.

    Are you saying that you need more logic than can be done in a single statement like your statement in red? What keeps you from getting the time as a variable and then using some if statements and...
Results 1 to 2 of 2