[阅读: 313] 2006-09-22 06:54:45
$ cat testc.c
#include <stdio.h>
main()
{
int i;
//要求输出结果:1 4 7 10 13 16 19 22 25,请将以下程序中FOR循环里的语句补充完整:
for(i=1;i<=9;i=i+1,printf("%c%c%c%3d",8,8,8,(i*3)-5) )
printf("%3d",i);
}
$ gcc testc.c
$ a.out
1 4 7 10 13 16 19 22 25$