Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Bucles: Mayor de n números hasta teclear 0
//Mostrar el mayor de n números tecleados //clang 3.6.0 #include <stdio.h> #include <limits.h> int main(void) { int num, mayor=INT_MIN; printf("Mayor de n números tecleados. Fin cuando 0\n"); do { printf("\nTeclea el número:"); scanf(" %d", &num); if (num>mayor && num!=0) mayor=num; }while (num!=0); printf("\nEl mayor es %d", mayor); return 0; }
run
|
edit
|
history
|
help
0
Pointer_Indirectare_N
cv3
Recorrido matriz bidimensional y busqueda valor
Vectores: Burbuja ordenación
correccion
Fibonacci search by Henry Kroll III www.thenerdshow.com
Lazy dope vectors by Henry Kroll III www.thenerdshow.com
Linked list: Traverse and insert
Bucles: Triángulos Lateral Derecho
13 12 2014 20:25