第九周项目三 输出星号图(2)
来源:互联网 发布:手机照片视频制作软件 编辑:程序博客网 时间:2024/06/09 12:17
/*Copyright (c) 2014.烟台大学计算机学院All right reserved文件名:test cpp*作者:李长鸿*时间:2014.10.25*版本号:V1.0*
*问题描述:输出星号图*/#include <iostream>using namespace std;int main(){ int i,j,k,l; for(i=1;i<=6;i++) { for(k=2;k<=i;k++) cout<<" "; for(j=1;j<=13-2*i;j++) cout<<"*"; for(l=2;l<=i;l++) cout<<" "; cout<<endl; } return 0;}
<img src="http://img.blog.csdn.net/20141025133927648?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQveHNsY2gxMjM=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="" />
0 0
- 第九周项目三 输出星号图(2)
- 第九周项目三 输出星号图
- 第九周项目三:输出星号图
- 第九周项目三 输出星号图
- 第九周 项目三:输出星号图
- 第九周项目三输出星号图
- 第九周项目三输出星号图
- 第九周 项目三 输出星号图
- 第九周项目三 输出星号图
- 第九周 项目三 输出星号图
- 第九周项目三:输出星号图2
- 第九周项目三输出星号图2
- 第九周上机项目三(e)输出星号图
- 第九周上机项目三(f)输出星号图
- 第九周项目三输出星号图(a)
- 第九周上机项目三输出星号图(a)
- 第九周上机项目三(b)输出星号图
- 第九周上机项目三(c)输出星号图
- 一、一切从指数的扩展说起
- 黑马程序员_一次多线程实践
- 面向自己的数据结构题库
- 手机WiFi万能钥匙查看破解的密码和手机查询命令收集
- javaweb网站中添加验证码的功能
- 第九周项目三 输出星号图(2)
- 分享一个小工具:Excel表快速转换成JSON字符串
- JAVA串口编程
- 【cocos2d-js官方文档】五、Cocos2d-JS v3.0的新Action API
- Leetcode--Same Tree
- Linux下yum安装及常用命令
- 【cocos2d-js官方文档】六、cc.async
- android逐帧动画与空指针异常
- Eclipse中安装SVN插件的艰难旅程