Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
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
palindrome.c
variable arguments 2
C code to compare two texts in form of array of chars ignoring the capitalization
Midterm practice, turn into for loop
ex1
QuestResp
Square pyramid
MULTI-CAST
MÓDULO 3, PREGUNTA 1, GUÍA 4
18BCE2182 ASSESS_2 Q4