Printing array element in matrix form

 import java.util.*;


public class PrintArrPattern{

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

for(int i=0; i<5;i++){
for(int j=0; j<5;j++){
arr[i][j]= sc.nextInt();
}
}

for(int i =0; i<5;i++){
for(int j=0; j<5;j++){
System.out.printf("%2d ", arr[i][j]);
}
System.out.println();
}
}
}

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...