We couldn't verify your premium access right now. Try refreshing the page — if this keeps happening, please contact support.
5.
Control Statements
5.2
goto, if, if-else and switch Statements
8 questions
2080 BhadraChapter 5: Control Statements5.2 goto, if, if-else and switch Statements
Compare else-if ladder with switch statement. Write a program to check whether the entered number is palindrome or not. [Hint: Palindrome number for example is 12321; this number is same when reversed.]
2076 ChaitraChapter 5: Control Statements5.2 goto, if, if-else and switch Statements
Explain the importance of a switch-case statement. Compare switch-case with if-else ladder. Write a program to find sum of numbers from 1 to 100 which are exactly divisible by 5 and not by 3.