Please do the following, please type out code (handwriting is too hard to read) using the Java language! Thank you!
Problem 1) Write a program that reads in two integers typed on the keyboard and outputs their sum, difference, and product.
Problem 2) Write a program that reads in a line of text and then outputs that line of text first in all uppercase letters and then in all lowercase letters.
Problem 3) Something could go wrong with the following code. Identify and fix the problem.
Scanner keyboard = new Scanner(System.in);
System.out.println("Enter your age.");
int age = keyboard.nextInt();
System.out.println("Enter your name.");
String name = keyboard.nextLine();
System.out.println(name + ", you are " + age + " years old.");