Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
a>=0 && b>=a
//Title of this code //gcc 4.9.1 #include <stdio.h> int main(void) { short a, b, i; a=5; b=6; if (a>=0 && b>=a){ printf("%hd>=0 y %hd>=%hd", a,b,a); } else{ for(i=0; a<0 || b<a; i++){ printf ("Introduzca otro valor de a:\n"); scanf("%hd",&a); printf("Introduzca otro valor de b: \n"); scanf("%hd",&b); } } return 0; }
run
|
edit
|
history
|
help
0
Day 2 String Manipulation
Ahora si?
scanf and integer manipulation
Project 3 part 2 Book v1
Valor fuera del intervalo
finalpyramid
18BCE2182 ASSESS_1 Q1-9
1
Witout goto
Lab 11 v1.0