Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
C_141113_euclides
//Title of this code #include <stdio.h> int main(void) { short a, b; short ca, cb, aux; printf("Valor de a ... "); scanf(" %hd", &a); printf("Valor de b ... "); scanf(" %hd", &b); ca = a; cb = b; while(cb != 0) { aux = ca; ca = cb; cb = aux % cb; } printf("El mcd de %hd y %hd es %hd\n\n", a, b, ca); return 0; }
run
|
edit
|
history
|
help
0
project 5 v.075
a.c
C_141127_MatricesSUMA
Mutex Safe
print_odd_pointer.c
Beginning linux
#Define / Case/ If practice
WHY_?
Anutter juan
MatrixMul_shortxshort