Write a pretest loop that adds together the integers 2, 4, 6, 8, 10, 12, 14, 16, 18, and 20. Use the intNum variable to keep track of the integers. Store the result in the intResult variable (which contains the number 0). Use the For...Next statement.
What will be an ideal response?
For intNum As Integer = 2 To 20 Step 2
intResult = intResult + intNum
Next intNum
You might also like to view...
What is the definition of cybernetics?
What will be an ideal response?
If you drag and drop a file to a folder on the same storage device, the file is copied into that folder.
Answer the following statement true (T) or false (F)
The ____ search algorithm is more efficient than the ____ search algorithm but it works only when the search list is already sorted.
a. sequential, binary b. binary, selection c. selection, binary d. binary, sequential
Which of the following is not true about how cloud computing can replace an FTP server?
A) Users can upload files and invite others to download them. B) Both Google and Microsoft enable online collaboration. C) A more advanced use is to not only share files, but to allow other users to make modifications. D) To allow users to make modifications, users need to be able to make the changes through their local machine without concern for what application software is being used on their web browser.