Step 5 – Using numbers in variables
Now lets try something else.
Try this code.
- Ask the user how old they are. Store the answer in a variable called userAge – use another input line to do this
- Then print the age out – use a print line
- Run your code to check that it works
That should work just fine.