Question: C++ please. Write code that uses conditional execution to solve the following: THIS ASSIGNMENT DOES NOT REQUIRE USER INPUT DO NOT attempt to use loops....follow

C++ please. C++ please. Write code that uses conditional execution to solve the following:

Write code that uses conditional execution to solve the following: THIS ASSIGNMENT DOES NOT REQUIRE USER INPUT DO NOT attempt to use loops....follow the directions. Create a variable that is assigned a numerical value - this represents the age of a user . Based on that age, determine 2 different things: Is this person a teenager (13-19 years of age) . If so then output "Person is a Teenager" . If not then output "Person is not a Teenager" Is this person eligible to vote (that is older than 18) If so then output "Person is eligible for voting" If not then output "Person is not eligible for voting" o

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!