Computer Science, asked by aditya2020222003, 1 year ago

wap in java to input an integer and print if it is a 1 or 2 or 3 or more digit number

Answers

Answered by Harshithababu
0
class abc
{
void main(int x)
{
if(x==1 || x==2 || x==3)
System.out.println("X="+x);
}
}

aditya2020222003: the code is not giving proper result
Harshithababu: wait i ll check it
Similar questions