import java.util.Scanner;
public class abejeroact29 {
public static void main (String[] arg) {
Scanner input = new Scanner(System.in);
int nos;
System.out.println("Enter how many number");
nos = input.nextInt();
int[]no;
no = new int[nos];
for (int x = 1;x<=nos;x++)
{
System.out.println("Number " +x);
no[x] = input.nextInt();
}
}
}
No comments:
Post a Comment