# 03 String Conversion
# Converting a String to an int
# Strings Cannot Add
# Goal:
Learn how the + operator works differently with Strings and numbers. Learn how to convert String objects to numbers when math operations are needed.
# Steps:
- Follow all the instructions in the main method.
- Observe how the + operator joins Strings to produce a new (longer) String.
- Use the Integer.parseInt() method to convert Strings to numbers.
- Observe how the + operator adds numbers to produce a sum.
# Roller Coaster
# Goal:
Check if a person is tall enough to ride the roller coaster!
# Steps:
- Ask the user what height they are (in inches)
- If they are 48" or taller, tell them they can go on the coaster alone.
- If they are between 42" and 47" tall, tell them they need to ride with someone else.
- If they are less than 42" tall, tell them they need to grow more.
# Voting Booth
# Goal:
Check if a person is old enough to vote!
# Steps:
- Ask the user how old they are (in years)
- If they are over 18, ask them who the next president should be
- If they are younger, tell them nobody cares what they think