write a program to input 10 numbers into an integer array and check whether all numbers are 3-digit numbers or not.
Answers
Answered by
0
I will give u a syntax
Explanation:
public class three
{
public static void main ()
{
Scanner sc=new Scanner(System.in);
int i,j,n;
System.out.println("enter the value of n");
n=in.nextInt();
for(i=1;i<=10;i++)
{
for(j=1;j<=10;j=i%n/3,j++)
{
n=n+1;
Similar questions