question
所属分类:图形图像处理
开发工具:C/C++
文件大小:376KB
下载次数:0
上传日期:2020-11-24 18:16:27
上 传 者:
hehe233asd
说明: 在函数hat(int nrows)中填充空格,以便它输出以下nrows=6的模式。
# # # # # * # # # # #
# # # # * # * # # # #
# # # * # # # * # # #
# # * # # # # # * # #
# * # # # # # # # * #
* # # # # # # # # # *
void hat(___________){
int row, pound, star;
for(row=1; row<=________; row++){
for(pound=________; pound<=__________; pound++)
cout << "#";
for(star=________; star<=__________; star++)
if(star == 1 __________ star == __________)
cout << "*";
else
cout << __________;
for(pound=1; pound<=nrows-row; pound++)
cout << "#";
______________ ;
}
}
(Fill the space in the function hat(int nRows) so that it outputs the following pattern of NRows =6.
# # # # # * # # # # #
# # # # * # * # # # #
# # # * # # # * # # #
# # * # # # # # * # #
# * # # # # # # # * #
* # # # # # # # # # *)
文件列表:
question\answer.cpp (681, 2020-11-24)
question\question.txt (605, 2020-11-23)
question\基于ASP.NET的客户信息反馈系统.docx (426719, 2020-11-24)
question (0, 2020-11-24)
近期下载者:
相关文件:
收藏者: