Accenture Primer
Accenture DumpeasyAccenture PrimerPrimer-Dump

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.

Related Accenture Accenture Primer questions

Practice more Accenture Accenture Primer questions

PrimerDumps has 1400+ primer questions, 2026 mocks and coding hands-on — all free.