#include<iostream> #include<string.h> using namespace std; int main(){ string a[3][3]; for(int i=0; i<3; i++) { for(int j=0;j<3;j++) { cout<<"Enter the Elements: "; cin>>a[i][j]; } cout<<endl; } for(int i=0; i<3; i++) { for(int j=0;j<3;j++) { cout<<"Element: a["<<i<<"]["<<j<<"]: "<<a[i][j]<<endl; } cout<<endl; } return 0; }