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
QuestResp
lab 12 v0.1
C(gcc) Local Time and math.h Example
B_141212_OrdenarArray
SIGABRT error
app1
Maximum of Arrays
polymorphism simulation in plain C with a simple structures
Bitex
structt