+ 1

Can anyone help me with this multipke array

1 2 3 to 9 8 7 4 5 6 6 5 4 7 8 9 3 2 1

14th Nov 2016, 2:57 AM
Jainaba Trawally
Jainaba Trawally - avatar
1 Answer
+ 3
#include <iostream> using namespace std; int main( ) { int x[3][3]={{1,2,3},{4,5,6},{7,8,9}}; for(int i=0;i<3;i++) { for(int j=0;j<3;j++){ cout<<x[2-i][2-j]<<" "; } cout<<endl; } return 0; }
14th Nov 2016, 7:52 AM
xu yonghong
xu yonghong - avatar