本帖最后由 tom075395 于 2013-11-23 15:25 编辑
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b,c,f;
a=0,b=0,c=0,f=0
while(f<100)
{
a=a+1,f=f+1;
if(a%10==0) b=b+1;
if(b%10==0) c=c+1;
printf("%d\n%d\n%d\n%d\n",a,b,c,f);
}
system("pause");
return 0;
}
運行不能 運行不能 運行不能 運行不能 運行不能 運行不能 運行不能 |