Detecta el mayor de 3 numeros introducidos
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
int num1 = 0;
int num2 = 0;
int num3 = 0;
printf("Introduzca el primer numero: ");
scanf("%d", &num1);
printf (" \n\n");
printf("Introduzca el segundo numero: ");
scanf("%d", &num2);
printf (" \n\n");
printf("Introduzca el tercer numero: ");
scanf("%d", &num3);
printf (" \n\n");
if(num1 > num2 && num1 > num3) {
printf("El mayor es:
%d\n\n", num1);
printf (" \n\n\n");
}
else if(num2 > num1
&& num2 > num3)
{
printf("El mayor es: %d\n\n", num2);
printf (" \n\n\n");
}
else
printf("El mayor es: %d\n\n", num3);
printf (" \n\n");
system("PAUSE");
return 0;
}
Escribir comentario
seks rozmowy (sábado, 19 noviembre 2016 17:18)
pralny
live sex calls (lunes, 21 noviembre 2016 13:21)
tattle
sex telefony (martes, 22 noviembre 2016 15:45)
owoce
gwiazdy topless (viernes, 25 noviembre 2016 04:27)
nieszturchający
miłosne rytuały (viernes, 25 noviembre 2016 17:38)
dojrzewalnia
sextelefon (martes, 29 noviembre 2016 08:52)
neutralizacja
seks tel (martes, 29 noviembre 2016 22:09)
niepozamakanie
sex oferty kobiet (lunes, 04 septiembre 2017 19:23)
najniezbędniejszy
szczegóły (martes, 05 septiembre 2017 14:28)
nieochlapujący