C++问题用*号排列菱形的问题Write a C++ program which prints out a diamond shape with asterisks,like the following figure.All asterisks are stored in a two-dimensional array.The size of the array is limited from 3 to 29 and should be input f

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/08 00:30:16

C++问题用*号排列菱形的问题Write a C++ program which prints out a diamond shape with asterisks,like the following figure.All asterisks are stored in a two-dimensional array.The size of the array is limited from 3 to 29 and should be input f
C++问题用*号排列菱形的问题
Write a C++ program which prints out a diamond shape with asterisks,like the following figure.All asterisks are stored in a two-dimensional array.The size of the array is limited from 3 to 29 and should be input from a user.Check whether an inserted size is an odd number

C++问题用*号排列菱形的问题Write a C++ program which prints out a diamond shape with asterisks,like the following figure.All asterisks are stored in a two-dimensional array.The size of the array is limited from 3 to 29 and should be input f
看看会对你有帮助的,只是用C写的而已
#include "stdio.h"
void main()
{int i,j,k;
for(i=1;i