Which of the following is a valid C# pretest conditional expression that enables a loop
to be executed as long as the counter variable is less than 10?
a. do while (counter < 10)
b. while (counter < 10)
c. foreach (counter in 10)
d. none of the above
e. all of the above
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.