Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
B_141118_Euclides
//Title of this code #include <stdio.h> int main(void) { 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) { aux = aa; aa = bb; bb = aux % bb; } printf("El mcd de %hd y %hd es %hd", a, b, aa); return 0; }
run
|
edit
|
history
|
help
0
SUDOKUS CORRECTOS
Cbinsearch
b=1,c=1
22
Project 4 v1.1
14th Feb Project
18BCE2182 ASSESS_2 Q-1
new
pointer
union behaviour when const obj created