Answered step by step
Verified Expert Solution
Link Copied!

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++image text in transcribed

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 this

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DNA Databases

Authors: Stefan Kiesbye

1st Edition

0737758910, 978-0737758917

More Books

Students also viewed these Databases questions

Question

Lo6 Identify several management development methods.

Answered: 1 week ago

Question

LO4 List options for development needs analyses.

Answered: 1 week ago