Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int mat[3][9];
- mat[0][0] = 1;
- mat[0][1] = 2;
- mat[0][2] = 6;
- mat[0][3] = 9;
- mat[0][4] = 4;
- mat[0][5] = 3;
- mat[0][6] = 15;
- mat[0][7] = 10;
- mat[0][8] = 50;
- for(int i = 0; i < 9; i += 1) {
- cout << mat[0][i] << " ";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement