Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Valor fuera del intervalo
//Title of this code //gcc 4.9.1 #include <stdio.h> int main(void) { short INF, SUP, a, i; INF= 5; //printf("Introduzca limite inferior: "); scanf("%hd",&INF); SUP=50; //printf("Introduzca limite superior: "); scanf("%hd", &SUP); a= 60; //printf("Introduzca un valor: "); scanf("%hd", &a); for(i=0; a<INF || a>SUP; i++){ a = 20; // printf("Introduzca otro valor"); scanf("%hd", &a); } printf("El valor esta en el intervalo"); return 0; }
run
|
edit
|
history
|
help
0
Nice1
C programming example that implements a modified string length function (from ECE 2534)
C_141204_ValorNumerico
19_1
Avance 2 de pregunta 5
EUCLIDES BIEN
json formatter
Pattern 13
recurs3
TAREA M4- PERLAS TERMINADA