#include<iostream.h>
#include<conio.h>
void main()
{
int a[2][2]; // 2 dimensional Array -> a[2][2] represents array size u can put any value like a[5][3]
for(int i=0;i<=1;i++) //loops used for input
for(int j=0;j<=1;j++)
cin>>a[i][j];
for(int i=0;i<=1;i++) //loops used for output
for(int j=0;j<=1;j++)
cout<<a[i][j]<<endl;
getch();
}
[FONT="Comic Sans MS"][CENTER][SIZE="5"][B][COLOR="MediumTurquoise"]"The nicest people tend to often be the ones who have been mistreated the most."[/COLOR][/B][/SIZE][/CENTER][/FONT]
Bookmarks