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
time clock and day count through second by user input (ratneshgujarathi)
1
Score
bit shift and mask
Char data type.c
3468
MatrixMul_shortxshort
CdayName
Data Types
% with negative numerator and positive denominator (gcc)