Solved

Case 1 - XYZ Solutions

Question 45

Multiple Choice

Case 1 - XYZ Solutions
You have just started working for XYZ Solutions as a programmer. Your first assignment is to review and correct various code so that you can become familiar with the company’s programs.
-The following code is not working properly.The message should display four times.What needs to be changed for the code to work properly? Do While intCounter < 5
MessageBox.Show("OK")
IntCounter = intCounter + 1
Loop


A) intCounter < 5 should be changed to intCounter = 5
B) intCounter < 5 should be changed to intCounter > 5
C) intCounter = 1 should be added before the Do statement
D) intCounter = 0 should be added before the Do statement

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions