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/27 11:05:18
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