printf ("12345 1234 123 12 1\n");
... or, did you mean to do it with loops ? ...
int i, j;
for (i=5; i>0; i--) {
for (j=1; j<=i; j++) printf ("%d", j);
printf (" ");
}
printf ("\n");
Chat with our AI personalities
the next one is 1234
12 inches= 1 foot 123 inches = 10feet 3inches
36 in = 1 yd ⇒ 123 in = 123 ÷ 36 yds = 35/12 yds ≈ 3.42 yds
Pairs of positive integer factors of 1234 are: 1 x 1234 = 1234 2 x 617 = 1234 And their reverses.
12 inches = 1 foot 120 inches = 10 feet 123 inches = 10 1/4 feet