consider a scenario: you have written a code to display a menu on the screen and some operations are performed based on the given user input. Which control structure would you use ,so that the menu is guaranteed to
Answer options
A
show?display at least once on the screen, before performing the operation
B
do-while loop
Correct answer: do-while loop
Explanation
The source marks the correct answer as: do-while loop.