用*号输出字母c的图案
题目:用*号输出字母c的图案。
1.程序分析:可先用'*'号在纸上写出字母c,再分行输出。
2.程序源代码:
#include <stdio.h>
void main()
{
//可先用'*'号在纸上写出字母c,再分行输出。
printf("hello c-world!\n");
printf("****\n");
printf("*\n");
printf("*\n");
printf("****\n");
}编译运行:

吐槽一下


还没有留言,还不快点抢沙发?