#include
<stdio.h>
#include
<conio.h>
#include
<iostream.h>
void main()
{
int n1 = 0, n2= 0 ;
gotoxy(12,1);cout<<"************************************************************";
gotoxy(12,5);cout<<"************************************************************";
for(int
i=2;i<=4;i++)
{gotoxy(12,i);cout<<"*"; gotoxy(71,i);cout<<"*";}
gotoxy(12,14);cout<<"***************************";
gotoxy(12,16);cout<<"***************************";
for(int
i=14;i<=16;i++)
{gotoxy(12,i);cout<<"*"; gotoxy(39,i);cout<<"*";}
gotoxy(14,2);cout<<"DETERMINE CUAL DE LOS DOS
NUMEROS INGRESADOS ES EL MAYOR ";
gotoxy(32,3);cout<<"...LENIN ZAPATA....";
gotoxy(12,10);cout<<"> Digite primer numero :
"; cin>> n1;
gotoxy(12,11);cout<<"> Digite segundo numero:
"; cin>> n2;
if(n1 > n2 )
{gotoxy(13,15);cout<<"El
numero mayor es: " << n1; }
else
{gotoxy(15,15);cout<<"El numero mayor es: " <<
n2;}
_getch();
}
No hay comentarios:
Publicar un comentario