KnowledgeBoat Logo

Computer Applications

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

Scratch

1 Like

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

2 Likes


Related Questions