What does "if-else" statement do in programming? #5
-
What does "if-else" statement do in programming? |
Beta Was this translation helpful? Give feedback.
Answered by
the-1Riddle
Apr 6, 2024
Replies: 1 comment
-
"If-else" statements are used to make decisions in code based on certain conditions. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
the1Riddle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"If-else" statements are used to make decisions in code based on certain conditions.
Example: checking if a number is even or odd.