How many times will the following loop print hello? i = 1; while (i <= 10) { cout <<"hello"; }
a. 0.
b. 9.
c. 10.
d. An infinite number of times.
d. An infinite number of times.
Computer Science & Information Technology
You might also like to view...
Which control statement which is best used when you know how many times to repeat the execution of a group of statements?
A. the do-while statement B. the for statement C. the switch statement D. the while statement
Computer Science & Information Technology
Use the ________ view in the Computer window to sort files by date
Fill in the blank(s) with correct word
Computer Science & Information Technology
Multiple ____ laid out in a rectangular grid give the illusion of continuity and smoothness in an image.
a. vector b. bitmaps c. pixels d. rasters
Computer Science & Information Technology
Which of the following is considered to be a common data type??
A. ?Integer B. ?String C. ?Floating-point D. ?All of the above
Computer Science & Information Technology