In a program where user inputs the roll number and the program displays the marks obtained, which of the following is suitable?

(A) for loop
(B) do-while loop
(C) if/ else statement
(D) switch statement

switch statement

Leave a Reply

Your email address will not be published. Required fields are marked *