Case-Based Critical Thinking QuestionsCase 1You have just starting working at Quantum Company. As a new programmer, you have been asked to review and correct various pseudocode.The following pseudocode is not working properly. The message should display 10 times. What needs to be changed?   for count = 0 to 10      output "I love programming!"   endfor

A. The for statement should be:
for count = 0 to 9
B. The for statement should be:
for count = 0 to 9 step 1
C. The for statement should be:
for count = 0 to 10 step 1
D. The for statement should be:
for count = 0 to 8 step 1

Answer: B

Computer Science & Information Technology

You might also like to view...

When adding audio to a PowerPoint presentation, Microsoft recommends use of modern media formats such as ________

A) AOT B) TNS C) LFE D) AAC

Computer Science & Information Technology

What is the value of x after the following statement?

float x; x = 3.0 / 4.0 + 3 + 2 / 5 a. 5.75 b. 5.75 c. 1.75 d. 3.75

Computer Science & Information Technology