Computer Science, asked by nirmitangre, 11 hours ago

Write a class to input a number using scanner class and print whether it is a single digit number, two digit number, three digit number or more than three digit number.​

Answers

Answered by aksrajput3453
1

Answer:

import java.util.scanner

public class A {

public static void main(){

scanner sc = new Scanner ( System.in);

System.out.println("Enter Number");

int a = sc.nextInt();

System.out .println(" No is " + a);

}}

Similar questions