This program will take in the age from the user using the Scanner class. It was written in Java.