write a programm which will take 10 numbers in 1 dimensional array
Answers
Answered by
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
Similar questions