C++菱形打印

#include<iostream> using namespace std; int main() { cout << "Please enter the side length of the diamond:"; int n; cin >> n; for (int i=0; i<n; i++) // 分为上半层打印和下半层打印,首先打印上半层,外部
相关文章
相关标签/搜索