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
B_141121_aleatorios
null p null q
Command Expressions in Gnu C: What's the value of a loop? void!
Struct
FILE_Access
Assignment 5 part 2
CheckProcessorEndianness
hello
C_141112_Perfectos
json string formatter