Computer Science, asked by anish22084gmailcom, 1 year ago

write a programm which will take 10 numbers in 1 dimensional array

Answers

Answered by nain31
0

CODING ➡

import Java. up. *;
class b
{
public static void mail (String args[])throws Exception
{
DataInputStream in=new DataInputStream(System.in);
int n[]=new int[10];
int i;
for(i=0:i<10;i++)
{
System.out.println("Enter any number");
n[i]=Integer. parseInt(in.readLine());
}
}
}

HOPE IT HELPS

anish22084gmailcom: no in it is a qbasic program
anish22084gmailcom: no its not java
Similar questions