Codigo
Enviado por mamfr • 11 de Octubre de 2015 • Trabajo • 1.388 Palabras (6 Páginas) • 119 Visitas
#include "iostream.h"
#include "conio.h"
#include "stdio.h"
int col,reng;
char resp;
main()
{
pite:
clrscr();
for (col=1;col<=79;col++)
{
gotoxy(col,1);cout<<"";
gotoxy(col,4);cout<<"";
gotoxy(col,21);cout<<"";
gotoxy(col,24);cout<<"";
}
for (reng=1;reng<=24;reng++)
{
gotoxy(1,reng);cout<<"";
gotoxy(79,reng);cout<<"";
}
gotoxy(30,2);cout<<"FIGURAS";
gotoxy(5,6);cout<<"Precione cualquier tecla para comenzar: ";
getch();
clrscr();
clrscr();
for (col=1;col<=79;col++)
{
gotoxy(col,1);cout<<"";
gotoxy(col,24);cout<<"";
}
for (reng=1;reng<=24;reng++)
{
gotoxy(1,reng);cout<<"";
gotoxy(79,reng);cout<<"";
}
gotoxy(39,3);cout<<"¦";
for (col=38;col<=40;col++)
{
gotoxy(col,4);cout<<"¦";
}
for (col=37;col<=41;col++)
{
gotoxy(col,5);cout<<"¦";
gotoxy(col,8);cout<<"¦";
gotoxy(col,19);cout<<"¦";
gotoxy(col,20);cout<<"¦";
gotoxy(col,21);cout<<"¦";
gotoxy(col,22);cout<<"¦";
}
for (col=36;col<=42;col++)
...