Finding a specific element in an Array

 import java.util.Arrays;

public class CheckForSpecEle {
public static void main(String[] args)
{
int[] array_nums = {5, 7};
System.out.println("Original Array: "+Arrays.toString(array_nums));
if(array_nums[0] == 4 || array_nums[0] == 7)
System.out.println("True");
else
System.out.println(array_nums[1] == 4 || array_nums[1] == 7);
}
}

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