Finding the specific sum of any two element of an Array

 import java.util.*;


public class Add2Element{
public static void main(String args[]){
int my_arr[]={1,2,3,4,5,6,7,8,9,10,11,12};
Scanner sc = new Scanner(System.in);
System.out.println("Enter the specific no. as the addition of two numbers");
int number = sc.nextInt();
for(int i=0;i<my_arr.length;i++){
for(int j=i+1; j<my_arr.length;j++){
if(my_arr[i]+my_arr[j]==number){
System.out.println(my_arr[i]+" "+my_arr[j]+" "+"="+" "+number);
}
}
}
}
}

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