You want to write a program that prints "Adult" if age is 18 or more, "Teen" if age is between 13 and 17, and "Child" otherwise. Which code correctly uses conditional logic?
hard📝 Application Q8 of 15
C - onditional Statements
You want to write a program that prints "Adult" if age is 18 or more, "Teen" if age is between 13 and 17, and "Child" otherwise. Which code correctly uses conditional logic?