Which of the following loops displays all numbers from 0 to 40 in increments of 5?
A. Declare Numeric num = 0
While evenNum <= 40
Display num
num = num + 5
End While
B. Declare Numeric num = 0
While num = 40
Display num
num = num + 5
End While
C. Declare Numeric num = 1
While num < 40
Display num
num = num + 5
End While
D. Declare Numeric num = 1
While num = 40
Display num
num = num + 5
End While
Answer: A
You might also like to view...
The async ________ and await _________ greatly simplify asynchronous programming, reduce errors and enable your apps to take advantage of the processing power in today’s multicore computers, smartphones and tablets.
a) modifier, operator b) modifier, modifier c) operator, operator d) operator, modifier
__________ are used to send large volumes of unwanted e-mail.
A. Rootkits B. Spammer programs C. Downloaders D. Auto-rooters
You can use ____ types of links on web pages.
A. two B. three C. four D. six
Which of the following is not true about using subtotals in Excel?
A) You can have only one subtotal per table. B) You can show or hide levels of details. C) Outline symbols display row levels. D) You should sort your data before creating the subtotals.