#include<stdio.h>
int main()
{
int a = 0;
int i = 1;
for (a = 9; a < 100; a+=10)
{
printf("%d ", a);
i++;
}
printf("\n");
printf("出现9的次数:%d", i);
system("pause");
return 0;
}本文出自 “无以伦比的暖阳” 博客,请务必保留此出处http://10797127.blog.51cto.com/10787127/1705836
原文:http://10797127.blog.51cto.com/10787127/1705836