+ 5
Please anyone Tell me the importance of if else statement because I think we can trigger an escape it but before that importance
importance of if else statement
7 odpowiedzi
+ 5
If - else statements perform a test to decide which code to run. If the test is true, the if block{ } runs. If the test is false, the 'else'{ } block runs.
.
I found this stuff on the internet. Hope it helps you.
+ 5
Many times, while coding, we want to perform different actions based on different conditions. We can do this by using conditional statements in our code. If - else helps us to create conditional statements.
+ 5
Yes sir.
+ 4
if else statements are conditional behaviors
constraints for the program
compiler has to check
first the constraints and then follow up the actual code
+ 4
i get you when we want to make two actions per time right
+ 4
Great sir!
+ 3
that helps