Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Euclides MIRAR
//Title of this code //gcc 4.9.1 #include <stdio.h> int main(void) { short a, b,i, B; a= 6; b=2; if(a>b){ for(i=0; a%b>0; i++){ B= a%b; a=b; b=B; } printf("%hd", b); } else if(b>a){ for(i=0; b%a>0; i++){ B=b%a; b=a; a=B; } printf("%hd",a); } else{ B=a; } printf("%hd",B); return 0; }
run
|
edit
|
history
|
help
0
Why &(a+1) is not allowed
printf
strrev
lab5!
19BCE0666.C
150109_RecursividadPrimo
data types and printf
with goto, with j++
1.9 Time Function
Assignment 3