Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
B_141202_Cadenas01
C_141210_Funciones
Binary example
150115_EsMatrizOrdenada
3850
hwk2
Divisibility :- #simple-math #ad-hoc-1 #basics
vetor mult
recurtion
FunPointBreakfast
Please log in to post a comment.