下列程序的运行结果是()classProgramx=0,y=-1;{publicstaticvoidMain(string[]args){inti=0,s=1;do{s/=s+1;i++;}while(i<=10);Console.WriteLine(“i={0},s={1}”,i,s);
下列程序的运行结果是()classProgramx=0,y=-1;{publicstaticvoidMain(string[]args){inti=0,s=1;do{s/=s+1;i++;}while(i<=10);Console.WriteLine(“i={0},s={1}”,i,s);
1