Search:

Type: Posts; User: helloworld922

Search: Search took 0.29 seconds.

  1. [SOLVED] Re: My Division Problem

    :P calculate the remainder by hand (not completely sure how numerically stable this is, but in theory it works)

    Scanner input = new Scanner(System.in);
    System.out.print("Enter a number: ");...
  2. [SOLVED] Re: My Division Problem

    Have you heard of the mod operator, as well as the parseInt method? Scanner also has a nextInt methd.

    Scanner input = new Scanner(System.in);
    System.out.print("Enter a number: ");
    int num =...
Results 1 to 2 of 2