Ask Question

When do we use an if - statement

+1
Answers (2)
  1. 28 October, 18:23
    0
    The if statement is used to check a condition and if the condition is true, we run a block of statements (called the if-block), else we process another block of statements (called the else-block). The else clause is optional.
  2. 28 October, 18:38
    0
    You'd use an if statement if something happens. What I mean is that {If this happens} Then that happens but if the if doesnt happen then the then doesnt happen
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “When do we use an if - statement ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers