FOR_MORE.C
资源名称:C.rar [点击查看]
上传用户:qq5388545
上传日期:2022-07-04
资源大小:29849k
文件大小:0k
源码类别:
界面编程
开发平台:
C/C++
- #include <stdio.h>
- void main ()
- {
- char letter;
- float percent;
- for (letter = 'A'; letter <= 'Z'; letter++)
- putchar(letter);
- for (letter = 'z'; letter >= 'a'; letter--)
- putchar(letter);
- putchar('n');
- for (percent = 0.0; percent < 1.0; percent += 0.1)
- printf("%3.1fn", percent);
- }