Professional Documents
Culture Documents
Jhon Maycol Stiven
Jhon Maycol Stiven
#include <iostream.h>
#include <conio.h>
#include<stdio.h>
void main
int numer,res;
clrscr();
gotoxy(18,6);
gotoxy(18,10);
cout<<"Ingrese un numero:";
cin>>numer;
res=(num%2);
if(res==0)
gotoxy(16,11);
cout<<"numero es par";
else
gotoxy(16,11);
cout<<"numero es impar";
getch();