画平行四边形

#include <bits/stdc++.h>
using namespace std;
int main(){
	char n;
	for(int i=1;i<=10;i++){
		n='A';
		for(int j=1;j<i;++j){
			cout<<" ";
		}
		for(int k=1;k<=19;k++){
			cout<<n;
			n++;
		}
		cout<<endl;		
	}
	return 0;
}

  

posted @ 2024-03-15 20:11  fushuxuan1  阅读(29)  评论(0)    收藏  举报