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
Incometax problem v0.1
pointer_swap
tgo
1
20171116_PI
Loop-worksharing
20171103_factorial
rsqrt from 0
Spring 2017 Lab 4 v1
variable number of arguments