为什么int k=10;while(k=0) k=k-1; 执行0次?int k=0;while(k=1) k++; 执行无限次?
while里面你写个赋值语句,这,k=0,false结束,k=1,ture,无限循环