Computer Science, asked by aditya220610, 4 months ago

The condition of an IF statement evaluates to boolean only if the expression contains

Answers

Answered by ashokkumarak83113
0

Answer:

off of to to in on in ICC do to on ICC to in hu in ho

Explanation:

off do of to if do in ho

Answered by monica789412
0

The IF statement condition get evaluated to Boolean value i.e., either 'true' or 'false', only if the expression contains relational operators, Boolean operand, and logical operators.

How IF statement works?

  • The straightforward IF statement have two segments. The first one is the condition that is written within the parentheses and the second part is the block of statement written inside the curly braces.
  • The condition written inside the parentheses can contain any expression which after checking gives the Boolean value, i.e., either 'true' or 'false'.
  • Only after the condition get satisfied, anything that is written inside the curly braces get executed, otherwise the control will directly jump on to the next statement.
Similar questions