Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main (void)
- {
- for (int i = 4; i > 0; i--)
- {
- printf("%*s", 3 * (4 - i), "");
- for (int j = i * i; j > (i - 1) * (i - 1); j--)
- {
- printf("%2d ", j);
- }
- puts("");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement