Write a pretest loop that adds together integers from 1 to 50. Use theintNumbervariable (which contains the number 1) to keep track of the integers. Store the result in theintResultvariable (which contains the number 0). Use the Do...Loop statement and theWhilekeyword.

What will be an ideal response?

Do While intNumber <= 50
intResult = intResult + intNumber
intNumber += 1
Loop

Computer Science & Information Technology

You might also like to view...

The ________ effect shrinks or grows the size of the text

A) Emphasis B) Entrance C) Motion Paths D) Exit

Computer Science & Information Technology

What is the purpose of HTML5, semantic markup?

What will be an ideal response?

Computer Science & Information Technology