0
Why if statement is used?
we can also output the 10 is greater than 5 without using if statement.
3 Answers
0
To check the condition ....u can see if use in atm ..
0
But what if you wanna do certain task if a number is greater than 5? Say, game over after 5 fail.
0
Use if statement yo compare multiple statements.