Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
EUCLIDES BIEN
//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{ printf("%hd",B); } return 0; }
run
|
edit
|
history
|
help
0
Daniel - hw3q2
add.c
Test 3
Answer for last midterm question
My first 2D array
mohan
Lab 5 HW Spring 2017 v1
150108_RecursivoPrimo
150109_RecursividadParImpar
Lab 7 blackjack v0.6