#include<iostream>
using namespace std;
main(){
cout<<endl<<endl;
for(int i = 0; i<40; i++){
if(i<4){
if(i == 0){
cout<<" *\t** \t**\t**\n";
}else if(i==2){
cout<<" * * \t**\t**\t**\n";
cout<<" * * \t**\t**\t**\n";
}
else if(i == 3){
cout<<"* * \t**\t**\t**\n";
}else{
cout<<" **\t**\t**\t**\n";
}
}else if(i >= 4 && i<22){
cout<<"*";
}else{
cout<<" ";
}
}
cout<<endl;
system("pause");
}
using namespace std;
main(){
cout<<endl<<endl;
for(int i = 0; i<40; i++){
if(i<4){
if(i == 0){
cout<<" *\t** \t**\t**\n";
}else if(i==2){
cout<<" * * \t**\t**\t**\n";
cout<<" * * \t**\t**\t**\n";
}
else if(i == 3){
cout<<"* * \t**\t**\t**\n";
}else{
cout<<" **\t**\t**\t**\n";
}
}else if(i >= 4 && i<22){
cout<<"*";
}else{
cout<<" ";
}
}
cout<<endl;
system("pause");
}
0 comments:
Post a Comment