writing a java program

How do I write a Java program to obtain user input for their name and then display their name. Next, ask the user for their age, then display what their age would be 5 years from now and what their age was 5 years ago.