Software Engineering
Accenture Technical PrimermediumSoftware Engineering04 Looping Statements

Jack wants to book fiight 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
Passenger details like name, age, gender et
B
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?
C
For loop
D
While loop
E
Do-while loop

Correct answer: For loop

Explanation

Quick AnswerThe correct answer is For loop because it directly addresses the core logic of Software Engineering.

Correct answer: For loop.

Related Accenture Software Engineering questions

Practice more Accenture Software Engineering questions

PrimerPrep has 1400+ practice questions, 2026 simulations and coding hands-on — all free.

Watch Walkthroughs!