Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
0003
# include <stdio.h> int main (void) { int x, x1, x2, x3, x4; printf ("Enter the value of x:_\n"); scanf ("%d", &x); x1 = x/20; x2 = (x - x1 * 20)/10; x3 = (x - x1 * 20 - x2*10)/5; x4 = (x - x1 * 20 - x2*10 - x3*5)/1; printf ("x1: %d\n", x1); printf ("x2: %d\n", x2); printf ("x3: %d\n", x3); printf ("x4: %d\n", x4); return 0; }
run
|
edit
|
history
|
help
0
Does fgets() read past a leading newline?
VKI_Mihalyk_3_2
Bubles: secuencia descenciente de números
Herout (67) - 2
funny stack overflow
Bucles: secuencia ascendente de números
UDP - Male/Velke pismena
min max pole
Vending machine
struct