Find the error
int[] table = new int[10];
Scanner keyboard = new Scanner(System.in);
for (int x = 1; x <= 10; x++)
{
System.out.print("Enter the next value: ");
table[x] = keyboard.nextInt();
}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.