How to designate a specific output for a specific input

Ok look. I am new to C++ but am very interested in it. I want to make a program that says something specific for what you entered. What I mean is, if someone enters their age as 18 the console will write back "you are an adult" and same for teenagers and so on.

I already made a program that you enter an integer and it doubles it from the tutorial.
if else structures would be a good choice to do that.
Topic archived. No new replies allowed.