Defining and Printing Array

 

import java.util.*;
public class Arrays {
public static void main(String args[]){
// int [] marks = new int[3];
// int marks [] = new int[3]; //This is also a valid syntax
int marks[] ={97, 98, 95};
// marks[0] = 97; //physics
// marks[1] = 98; //chemisty
//marks[2] = 95; // maths

//System.out.println(marks[0]);
//System.out.println(marks[1]);
//System.out.println(marks[2]);

for(int i=0; i<3; i++){
System.out.println(marks[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...