Thanks Exercise 9 Compare loops CS-1121 visual Basic The following list shows th
ID: 3924645 • Letter: T
Question
Thanks
Exercise 9 Compare loops CS-1121 visual Basic The following list shows the types of repetition control structures available in Visual Basic. General Format: For..Next loop For control variable - Beginning Numerie value To Ending Numeric value Body of the Loop Next General FormatDo Y While Loop (Top-Controlled) General FormatD. While Loop Bottom-Controlled Do while condition DO Body of loop Loop Body Loop Loop while condition I General Format: Do Until Loop Top-Controlled) General Format: Do Until Loop (Bottom-Controlled) Do Until condition Do * Loop Body * Loop Body Loop Loop Until conditionExplanation / Answer
3. While works till condition is true
i= 1
Do
sum+=i
i=i+1Loop While i < 51
4. Until works till condition is false
i=1
Do
sum+=i
i=i+1
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.