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
Bucles: triángulo asteriscos
SureshLabLive
CV09-2
Bucles: Suma de los 100 primeros naturales
Regiones A y B
Celcius to Farenheir,Romer,Kelvin
Punteros: strcpy
VKI_Mihalyk_3_3
Roots of a Quadratic Equation
pattern1