Source code :

 

#include<iostream>


using namespace std;

void 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");
}

Output :

pp

 

LEAVE A REPLY

This blog is kept spam free by WP-SpamFree.