ExamPlay Dark Logo
登入

Computer Science for IGCSE & O level - Programming (Section 9 - No. 38)

If the 'age' input is 20, what output will the following code produce? ``` IF age >= 17 THEN Print "You are an adult" ELSE Print "You are a child" ENDIF ```
You are a child
You are an adult
The program will crash.
No output

解释

Since the condition (age >= 17) is true, the "You are an adult" message will be printed.

评论 (0)

登录发表评论
广告
BrainBehindX Inc Logo
©2026; 供电 BrainBehindX Inc