Machine-translated by Google. Questions are authored in English.
Top

Discussion

Statement in Comal language 'IF age >=18 THEN PRINT "Yes" ELSE PRINT "No" is an example of

  • A.if else statement
  • B.if then statement
  • C.else one statement
  • D.if then else statement

Answer: D

Correct answer: if then else statement

The statement has all three keywords and both branches: a condition after IF, one action after THEN and another after ELSE. An if then statement would have only the first branch.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.