Search:

Type: Posts; User: bohrstein7

Search: Search took 0.31 seconds.

  1. Replies
    15
    Views
    1,056

    Re: Formulas within my code aren't cooperating

    ill do the exact ones for this problem,

    7925 divided by 3600 resulting in 2, then 725 divided by 60 resulting in 12, and then the remaining 5 seconds. Sorry if I'm not really good with this ha
  2. Replies
    15
    Views
    1,056

    Re: Formulas within my code aren't cooperating

    the seconds divided by 3600, the remaining number divided by 60, then the rest was the 5 seconds.
  3. Replies
    15
    Views
    1,056

    Re: Formulas within my code aren't cooperating

    2 hours, 12 minutes, 5 seconds?
  4. Replies
    15
    Views
    1,056

    Re: Formulas within my code aren't cooperating

    seconds = milliseconds/1000
    hours = seconds/3600
  5. Replies
    15
    Views
    1,056

    Re: Formulas within my code aren't cooperating

    well the original project was for my class and was to make 10000123 milliseconds into hours minutes and so on. I wanted to make it able to have user input though. For that (^) number of milliseconds...
  6. Replies
    15
    Views
    1,056

    Re: Formulas within my code aren't cooperating

    import java.util.Scanner;

    public class TestLab100
    {
    public static void main(String[] args)
    {
    Scanner keyboard = new Scanner(System.in);
    int milisec, sec, hour, minute, remainderMi,...
  7. Replies
    15
    Views
    1,056

    Re: Formulas within my code aren't cooperating

    --------------------Configuration: <Default>--------------------
    Starting milli-seconds: 10000123
    Hours: 2
    Minutes: 46
    Seconds: 668
    Milli...
  8. Replies
    15
    Views
    1,056

    Formulas within my code aren't cooperating

    I'm a novice programmer and I am trying to solve this annoying problem with my code.

    import java.util.Scanner;

    public class TestLab100
    {
    public static void main(String[] args)
    {
    Scanner...
Results 1 to 8 of 8