/***********************************************************/
1. The following code should print the word Tom ten times)
x=0;
while(x<10)
System.out.println("Tom");
x++;
/***********************************************************/
Scanner input = new Scanner();
int x = input.nextLine();
System.out.println(x);
/***********************************************************/
int x = sqrt(y);
/***********************************************************/
4. The following code should print all even integers from 50 to 100
for( i=2 ; i<=100; i+=2)
System.out.println(i+50);
/***********************************************************/