Q. Which keyword is used to define a loop that executes as long as a condition is true?

  • (A) for
  • (B) repeat
  • (C) loop
  • (D) while
πŸ’¬ Discuss
βœ… Correct Answer: (D) while
Explanation: The while loop runs as long as the condition remains true.
Explanation by: Mr. Dubey
The while loop runs as long as the condition remains true.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
73
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate