output :
enter marks in 3 subjects : 90 60 30
first division
In the above program we can also use if statement in the place of else if . But the time to execute the program is increased.In if statement every condition is checked whether it's true or false. In case of else if : if condition is true then exit, if false then going to check next condition.
for any other queries comment below:
No comments:
Post a Comment