How many lines of output will be printed by the following program fragment? for (i = 0;
Question:
How many lines of output will be printed by the following program fragment?
for (i = 0; i < 5; i += 2)
for (j = 0; j < 4; j = j + 2)
Console.WriteLine("{0}{1}", i, j);
a. 20
b. 6
c. 9
d. 12
e. none 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: 9781285096261
4th Edition
Authors: Barbara Doyle
Question Posted: