Episode 8 - User Input

Exercises

  1. Write a program that asks a person for their first, middle, and last name, and it will display their full name on one line.
  2. Write a program that asks how old a person in years is and it will display how old the person is in terms of seconds.
  3. Write a program that asks the user for a starting year, and an ending year. Calculate the number of years between them and output the result (for example, between 1990 and 1995 there were 5 years).