Computer Science, asked by amitkumar9011, 7 months ago

explain if.... else statement with an example ​

Answers

Answered by Anonymous
26

Answer:

if else means that if a certain condition is satisfied then the if statement will be executed otherwise the else statement will be.

for example

if(a > b)

print("a is greater ")

else

print("b is greater ")

this means that if a is greater than b - it will print - a is greater

or else it will print - b is greater

Explanation:

Similar questions