Search:

Type: Posts; User: Norm

Search: Search took 0.16 seconds.

  1. Replies
    15
    Views
    1,995

    Re: Formulas within my code aren't cooperating

    Where did the 725 come from?
    Where did the 5 come from?
    What are the equations to compute those numbers?
  2. Replies
    15
    Views
    1,995

    Re: Formulas within my code aren't cooperating

    Your steps are not quite complete.
    What is the "remaining number"? and What is the "rest"?
    You need formulas to compute those values.
  3. Replies
    15
    Views
    1,995

    Re: Formulas within my code aren't cooperating

    That looks right.
    how did you do it? What were the steps you took to compute those values?
    Write down the steps you used one by one.
    That will be a guide for how to write the formulas for your...
  4. Replies
    15
    Views
    1,995

    Re: Formulas within my code aren't cooperating

    How would you convert 7925 seconds to hours, minutes and seconds?
    Can you do that on a piece of paper?
  5. Replies
    15
    Views
    1,995

    Re: Formulas within my code aren't cooperating

    This problem is pure arithmetic, very little programming required.
    We'll start with two formulas:
    How do you get the total number of seconds from millisecs?
    How do you get the number of hours from...
  6. Replies
    15
    Views
    1,995

    Re: Formulas within my code aren't cooperating

    Are the answers correct? Have you worked it out by hand to know what the correct answers are?
    205 seconds looks like too many.

    You need to take a piece of paper and pencil and do all the...
  7. Replies
    15
    Views
    1,995

    Re: Formulas within my code aren't cooperating

    Also you need to show your input.
    For easier testing, change the input statement by hardcoding a value. For example:
    milisec = 12345; //keyboard.nextInt();

    When you get your formulas working...
Results 1 to 7 of 7