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
Project 5 v.05
Project 4 v.5
C_141204_ContadorPalabras
Cbinsearch
abc
printing float 3 pointers
Bitwise Operations
recurs2
#Define / Case/ If practice
1/23/2017