ipod touch6 ios10:这个程序的功能又是什么呢?

来源:百度文库 编辑:高校问答 时间:2024/07/04 01:54:00
#include<stdio.h>
main()
{
int a,n,count=1;
lont int sn=0,tn=0;
scanf(“%d,%d”,&a,&n);
while(count<=0)
{
tn+=a;
sn+=tn;
a*=10;
count++;
}
printf(“sn=%ld\n”,sn);
}
是啊
但是我弄不清初怎么回事这个程序

count=1;
while(count<=0)
这两个不矛盾吗?

好象什么都没做,最后打印出来的是0吧。