Finding common element in Three Arrays

 import java.util.*;


import javax.lang.model.util.ElementScanner14;

public class CommonElement3Arrays {
public static void main(String args[]){
ArrayList <Integer> common_Element= new ArrayList <Integer>();
int my_arr1[]= {1,2,3,4,5,6,7,8};
int my_arr2[]= {1,2,4,8,12,16,18};
int my_arr3[]= {2,4,8,20,25};
int x=0,y=0,z=0;
while(x<my_arr1.length && y<my_arr2.length && z<my_arr3.length){
if(my_arr1[x]==my_arr2[y] &&my_arr2[y]==my_arr3[z]){
common_Element.add(my_arr1[x]);
x++;
y++;
z++;
} else if(my_arr1[x] < my_arr2[y]){
x++;
} else if(my_arr2[y] < my_arr3[z]){
y++;
}else{
z++;
}
}
System.out.println("Common elements from three sorted arrays(in increasing order are :");
System.out.println(common_Element);
}
}

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