Search:

Type: Posts; User: SirMrNick

Search: Search took 0.09 seconds.

  1. Trying to make a largest divisor solver.

    Write a method largestDivisor that takes an integer argument and returns the largest positive integer which is less than the argument that divides the argument. (For example, 10 is the largest...
  2. Replies
    1
    Views
    844

    Understanding how to make a countdown

    Problem: Write a method countdownFor that prints a countdown from 10 to 1 using a for loop. Only one System.out.println statement should be present in your program, and no use of while is allowed....
Results 1 to 2 of 2