58. Which of the following is a legal loop construction? [2.5]
(Choose all that apply)
a) while(int i<7)
{
i++;
Console.WriteLine("Value
of i is {0}",i);
}
c) int j=0;
for(int k=0;j+k!=10;j++,k++)
{
Console.WriteLine("j=
{0} k={1}",j,k);
}
b) int i=3;
while(i){
Console.WriteLine("Value
of i is {0}",i);
}
d) int j=0;
do{
Console.WriteLine("Value
of i is {0}",,j);
if(j==3){continue loop;}
}while(j<10);