#include<stdio.h>
#include<conio.h>
#include<iostream.h>
void main ()
{ int n1 = 0
, n2 = 0;
gotoxy(19,2);cout<<"INSTITUTO
TECNOLOGICO SUPERIOR HUAQUILLAS";
gotoxy(32,3);cout<<"...LENIN
ZAPATA....";
gotoxy(10,4);cout<<"SUMA,
RESTA, MULTIPLICACION y DIVICION DE DOS NUMEROS.";
gotoxy(2,6);cout<<"Ingrese primer
numero : " ;
cin>>
n1 ;
gotoxy(2,7);cout<<"Ingrese segundo
numero: " ;
cin >> n2 ;
gotoxy(10,9);cout<<" SUMA " << n1 <<" + "
<< n2 << " = " << (n1 + n2 ) ;
gotoxy(10,10);cout<<" RESTA " << n1 <<" - "
<< n2 <<" = " <<
(n1 - n2 );
gotoxy(10,11);cout<<" MULTIPLICAION
" << n1 <<" * " << n2 <<" = "
<< (n1 * n2);
gotoxy(10,12);cout<<" DIVICION " << n1 <<" / "
<< n2 <<" = " <<( n1 / n2 );
_getch();
}
No hay comentarios:
Publicar un comentario