Computer Science for IGCSE & O level - Programming (Section 16 - No. 15)

Based on the IF statement example, what will be the result if 'age' is 15?
Output 'You are an adult'
Output 'You are a child'
The program will crash.
No output will be generated.

Explanation

The program will check IF the age is >=17. If it's not, then no output will be produced.

Comments (0)

Advertisement