Finding a Leap Year

 import java.util.*;


public class LeapYear {
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
System.out.println("Enter the year");
int n = sc.nextInt();
if((n%400 == 0) ||((n%4 == 0) && (n%100 != 0))){
System.out.println("The given year : "+" "+n+" "+ "is a leap year");
} else{
System.out.println("The given year :"+" "+n+" "+ "is not a leap year");
}
}
}

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