Which of the following is a valid C# pretest conditional expression that enables a loop to be
Question:
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
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
C# Programming From Problem Analysis To Program Design
ISBN: 9781285856872
5th Edition
Authors: Barbara Doyle
Question Posted: