Line: | Input Line | Type: | Walkthrough |
You should have completed: | Getting Numbers | This topic leads to: | Youth Calculator |
Now it is time to perform some basic calculations with the input the user gives us. The program will ask the user for their age and calculate how long it will be before they are 65.
If the user enters something that is not a number, the program will crash, there are ways to avoid this which will be covered later.