#include<iostream.h>
#include<conio.h>
void main()
{
                int i,j,a[3][4];
                clrscr();
                for(i=0;i<3;i++)
                                {
                                for(j=0;j<4;j++)
                                                {
                                                cout<<"Enter Value of A["<<i<<"]["<<j<<"] = ";
                                                cin>>a[i][j];
                                                }
                                }
                for(i=0;i<3;i++)
                                {
                                for(j=0;j<4;j++)
                                                {
                                                cout<<"\nThe Entered Value of A["<<i<<"]["<<j<<"] = "<<a[i][j];
                                                }
                                }
                getch();
}

98.PNG

Advertisements