Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
A_141117_Euclides
#include <stdio.h> #include <stdlib.h> int main() { short a, b; short aa, bb, aux; printf("Valor de a ... "); scanf(" %hd", &a); printf("Valor de b ... "); scanf(" %hd", &b); aa = a; bb = b; while(bb != 0) { aux = aa; aa = bb; bb = aux % bb; } printf("mcd de %hd y %hd es %hd\n\n", a, b, aa); return 0;
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
TAREA M4- PERLAS TERMINADA
Atleti
Atoi test
PPCG partial solution to https://codegolf.stackexchange.com/q/120870/61563
tom grey wolf
1.8 Parallizing for loop
Array non repeated alphabets
Bit
13
voltage float hex value
Please log in to post a comment.