#include
using namespace std;
int main()
{
int n,can,men,mar;
mar=0;
men=999999;
cout<<"ingrese la cantidad de numeros"<
while(can>0)
{
cout<<"ingrese el numero "<
if(n>mar)
{
mar=n;
}
else
{
if(n
men=n;
}
}
can=can-1;
}
cout<<"El numero mayor es "<
return 0;
}
No hay comentarios:
Publicar un comentario