Search:

Type: Posts; User: siid14

Search: Search took 0.22 seconds.

  1. Re: How to check if a calculation is an integer

    It's fine. I finally correct my code with the following :



    try (Scanner input = new Scanner(System.in)) {
    System.out.print("Enter number : ");
    int n =...
  2. How to check if a calculation is an integer

    I'm doing the following program with the following instruction: Write a Java program to check whether a given integer is a power of 4 or not.
    My approach is to take a log of the given number on...
Results 1 to 2 of 2