Swapping

 import java.util.*;


public class swapping{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
System.out.println("Enter first number");

int a = sc.nextInt();
System.out.println("Enter Second number");
int b = sc.nextInt();
System.out.println("Before swapping : a, b = "+a+","+b);
//swapping
int temp = a;
a = b;
b= temp;
System.out.print("After swapping : a, b = "+a+","+b);
}
}

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