#include
<stdio.h>
#include <conio.h>
#include <iostream.h>
void main ()
{
int
F=25, C=18 , CO= 52 , FI=25,Ci=34,Cu=36, Fi=8;
int f=35,fI=35,ci=31,c=41;
int fg=30,fw=28, fp=27,fk=27,cy=29,
cyi= 21,yc=41,yci= 49,fo= 27, fy= 30;
gotoxy(27,4);cout<<"...LENIN
ZAPATA...";
gotoxy(20,6);cout<<"PRESENTACION
DE UNA CASA";
for(int i= 0; i<=17 ; i++)
{
gotoxy(C,F);cout<<"*";
gotoxy(CO,F);cout<<"*";
gotoxy(Ci,Fi);cout<<"*";
gotoxy(Cu,Fi);cout<<"*";
F++;
Fi++;
Cu++;
Ci--;
}
for(int CC= 18; CC<= 52; CC=CC+2)
{
gotoxy(CC,F);cout<<"*";
gotoxy(CC,FI);cout<<"*";
}
for(int i= 1; i<=6 ; i++)
{
gotoxy(c,f);cout<<"*";
gotoxy(ci,f);cout<<"*";
f++;
}
for(int V= 31; V<=41 ; V=V+2)
{gotoxy(V,fI);cout<<"*";}
for(int i= 1; i<=3 ; i++)
{
gotoxy(cy,fk);cout<<"*";
gotoxy(yc,fk);cout<<"*";
gotoxy(cyi,fw);cout<<"*";
gotoxy(yci,fw);cout<<"*";
fk++;
fw++;
}
for(int h= 21; h<=29 ; h=h+2)
{gotoxy(h,fg);cout<<"*";
gotoxy(h,fp);cout<<"*";}
for(int ccc= 41; ccc<=49 ; ccc=ccc+2)
{ gotoxy(ccc,fy);cout<<"*";
gotoxy(ccc,fo);cout<<"*";}
getch();
}
No hay comentarios:
Publicar un comentario