c ++ (review) on the machine test report



First, the problem and the code

/* 
* 文件名称:输出*.cpp
* 作    者:  宋健
* 完成日期: 2016年 3  月 2 日 
* 版 本 号:v1.0 
* 对任务及求解方法的描述部分:
* 输入描述: 输入***
* 问题描述: 
* 程序输出: *字塔
* 问题分析: 无
* 算法设计: 两次利用循环
*/  
#include <stdio.h>
void main()
{
	int i,j;
	for(i=1;i<6;i++)
	{
		for(j=1;j<=i;j++)
		printf("*");
		printf("\n");
	}
}

Second, the operating results        



Third, the feelings and experiences:

Basic knowledge circulation


Fourth, knowledge summary:

   Note that the conditions of the two cycles;



      


Published 13 original articles · won praise 0 · Views 2621

Guess you like

Origin blog.csdn.net/Heiraten/article/details/50779872