If the age is between...

Hello everyone. I need help putting "if age is between 17 and 42" in code form. I know what to put for the output if the age is between those two int.

Right now I have..
.. else if (no idea what to put)


1
2
3
4
if(age >= 17 && age <= 42)
{
    // Do something...
}
Topic archived. No new replies allowed.