Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cout<<"Please enter the symbol:";
- char ryo;
- cin>>ryo;
- cout<<"Please enter the width:";
- int wid;
- cin>>wid;
- cout<<"Please enter the height:";
- int len;
- cin>>len;
- cout<<"Please enter the x-coordinate:";
- int ex;
- cin>>ex;
- cout<<"Please enter the y-coordinate:";
- int why;
- cin>>why;
- gotoxy(ex,why-2);
- for(int counter=0;counter<len;counter++){
- cout<<endl;
- gotoxy(ex,why+3-counter);
- cout<<ryo;
- for(int counter=0;counter<wid-1;counter++){
- cout<<ryo;
- }
- }
Add Comment
Please, Sign In to add comment