Computer Science, asked by deadmau3363, 1 year ago

Write a java program to check whether given number is binary or not using arrays

Answers

Answered by rosalind24
0
class binary
{
       public static void main(int a)
        {
               If (a <=1)
               System.out.println("The number is a binary number");
               else
               System.out.println("The number is not a binary number");
        }
}
Similar questions