Creating an array with User entered elements

 

import java.util.*;
public class Arrays1 {

public static void main(String args[]) {
Scanner sc = new Scanner(System.in);

int size = sc.nextInt();
int numbers[] = new int[size];
// input
for (int i = 0; i < size; i++) {
numbers[i] = sc.nextInt();
}
// output
for (int i = 0; i < size; i++) {
System.out.println(numbers[i]);

}
}
}

Google Script for Data Entry Form in Google Spreadsheet

// function to validate the entry made by user in user form function validateEntry (){ // declare a variable and referernece of active goog...