Page 1 of 1

Which of the followings is not a nested loop?

Posted: Mon Nov 29, 2021 8:10 am
by answerhappygod
a. for i=0 to 9
for j=1 to i+3
Next
Next
b. for i=0 to 9
Console.Write("i={0}",i)
Next
<i;
for j=1 to i+3
Console.Write("j={0}",j)
Next
c. for i=0 to 9
while(j Mod 2<>0)
Console.Write("{0}", j & vbTab)
j+=1
End While</i;