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