#include<stdio.h>
int main()
{
int num,count=0,i=0,ret=0;
scanf("%d",&num);
while(num>=0)
{
printf("%d
",num);
num--;
}
return 0;
}
/*
3
2 1 0 -1
num--;
printf("%d
",num);
num:
3
2
1
0
-1
Press any key to continue
3
3 2 1 0
printf("%d
",num);
num--;
3
num:
3
2
1
0
Press any key to continue
*/
//注意:在两个数做运算时,只要有一个是浮点数,计算的结果均为浮点数!