What's the use of if statement | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What's the use of if statement

18th Apr 2020, 8:30 AM
Thayani Gathirvelou🇱🇰
Thayani Gathirvelou🇱🇰 - avatar
2 Answers
9th Jun 2021, 8:42 AM
Tharul Nejana
Tharul Nejana - avatar
+ 2
they are conditional statements, the code inside if statements will be executed if it matched any of the condition in the if statement
18th Apr 2020, 8:40 AM
Ron Alvarez