KnowledgeBoat Logo
|

Computer Applications

What is the difference between if and if-else blocks ?

Scratch

2 Likes

Answer

The if block is used when we have to take action depending on a certain condition being true whereas the if-else block is used when we have to take different courses of action depending upon whether the condition is true or false.

Answered By

1 Like


Related Questions