搜索
查看: 2188|回复: 10
打印 上一主题 下一主题

谁能告知下阿哈C语言书籍里第一章节输出菱形图案该怎么编写

[复制链接]
楼主
发表于 2013-12-16 13:26:48 | 显示全部楼层
本帖最后由 Vivian1091 于 2013-12-16 13:28 编辑

这样可以吗
#include <stdio.h>
#include <stdlib.h>
int main()
{

    printf("  *\n * *\n*   *\n * *\n  *");
   
   
    system("pause");
    return 0;
}

沙发
发表于 2013-12-17 10:49:16 | 显示全部楼层
stu 发表于 2013-12-16 18:26
请看清楚帖子意思

I don't know what's wrong with my computer. I can't type Chinese...
Sorry, I am new to programming. I haven't learnt what you askes for.
Good luck
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

广播台
特别关注
快速回复 返回顶部 返回列表