Accenture Primer
Accenture DumpmediumAccenture PrimerLooping statements

Jack wants to book flight tickets in Feather-Airways’ online portal for his family of five. Passenger details like name, age, gender etc. should be entered for each member. The same process of getting details continues for all the five members. The above scenario is a good example for which looping statements?

Answer options

A
Do-while loop
B
For loop
C
While loop

Correct answer: For loop

Explanation

The source marks the correct answer as: For 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.