pueden darme viendo si esta bien hecho el programa por favor:
// Determinar el mayor de 4 números (con y sin variables internas)
//Programado por:Edwin Hernández
#include<iostream.h>
#include<conio.h>
void main()
{
   int i,num,may=0;
   for(i=1;(i<=4);i++)
   {
      cout<<"\nIngrese cuatro numeros";
      cout<<"\nIngrese"<<i<<":";
      cin>>num;
      if(num>may)
         may=num;
   }
   cout<<"\nEl numero mayor es:"<<may;
   getch();
}


 
  




 Autor
 Autor
		


 En línea
									En línea
								
 
						 
						
 
						