Finding an input element using method

 import java.util.*;


public class FindSpecificValue1 {

public static boolean findElement(int arr[], int n) {
for (int i : arr) {
if (n == i) {
return true;
}
}
return false;

}

public static void main(String args[]) {
int arr[] = { 1234, 2345, 2103, 1992, 4502 };

System.out.println(findElement(arr, 1234));
System.out.println(findElement(arr, 1230));

}
}

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