Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
C_141113_dividirRestasSucesivas
//Title of this code #include <stdio.h> int main(void) { short x, d, c; short aux; printf("Valor de x: "); scanf(" %hd", &x); printf("Valor de d: "); scanf(" %hd", &d); aux = x; c = 0; while(aux >= d) { aux -= d; c++; } printf("El cociente de %hd y %hd es %hd\n", x, d, c); printf("El resto de %hd y %hd es %hd\n", x, d, aux); return 0; }
run
|
edit
|
history
|
help
0
My first reevers C 2darryp
Working except for the thread part. LUL
PtStrCpy
20171116_TARTAGLIA
strrev
Project 4 v.6
2
B_141209_TrianguloTartalia
sorted array
loop