C-17-Q001mediumsingle_mcq
In the program if mark >= 40: print('You have passed'), what happens when the user enters mark = 30?
In the program if mark >= 40: print('You have passed'), what happens when the user enters mark = 30?
- aThe pass message prints
- bThe body of
ifis skipped and the next statement is processed - cThe program crashes
- dThe mark is changed to 40