Q. What is the correct syntax of the “while” loop?

  • (A) while (i <= 5)
  • (B) while i = 1 to 5
  • (C) while (i <= 5; i++)
  • (D) while (i=0; i <= 5; i++)
πŸ’¬ Discuss
βœ… Correct Answer: (A) while (i <= 5)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
267
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Yogesh
Publisher
πŸ“ˆ
95%
Success Rate