#include<stdio.h>标签:count,10,return,++,个数,程序,int,100 From: https://blog.51cto.com/u_15923331/5981274
int main()
{
int m = 0;
int count = 0;
for (m = 1; m <100; m++)
{
if (m % 10 == 9)
{
count++;
}
if (m / 90 == 1)
{
count++;
}
}
printf("九的个数为%d", count);
return 0;
}