不死帝尊全文txt地址:这个程序的功能又是什么呢?

来源:百度文库 编辑:神马品牌网 时间:2024/05/11 02:43:05
#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吧。