Which of the following loops prints "Happy Birthday!" 10 times?
A. For count = 0 To 10
Display "Happy Birthday!"
End For
B. For count = 1 To 10
Display "Happy Birthday!"
End For
C. While count = 1 To 10
Display "Happy Birthday!"
End While
D. Do While count = 1 To 10
Display "Happy Birthday!"
End While
Answer: B
You might also like to view...
The ________ identifies the data series
A) row titles B) vertical axis C) horizontal axis D) legend
Label filters such as "Does Not Equal" can be applied to a PivotTable
Indicate whether the statement is true or false
The clear sheets that were used for drawing each frame of animation have been replaced today by:
a. acetate or plastic b. titanium c. fiberglass d. epoxy resin
Before running code written in any programming language, be sure you know how to interrupt program execution in case you have a logic error and the program becomes stuck in an endless loop.
Answer the following statement true (T) or false (F)