Answered step by step
Verified Expert Solution
Question
1 Approved Answer
pls don't use using namespace std; as well is for c++ 4.1 - If/Else Statements / 9. Voting Age saved 15 points possible Reset to
pls don't use using namespace std; as well is for c++
4.1 - If/Else Statements / 9. Voting Age saved 15 points possible Reset to Starter Code Write a program that asks the user for their age and lets them know if they are eligible to ride the rollercoaster (at least 12 years old). If they are not eligible, let them know how many years they have left. Output 1: Enter your age as a whole number: [assume user types: 201 You are oligible to ride! Output 2 Enter your age as a whole number: (assume user types: 10) You will be eligible to ride in 2 years Hints and Notes 1) Use an lf/Else for thisStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started