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++)
for (j = 0; j < 4; j++)
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: 9781285856872
5th Edition
Authors: Barbara Doyle
Question Posted: