Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream.h>
- #include<conio.h>
- #define a 3
- #define b 3
- void main()
- {
- int x[a][b];
- clrscr();
- for(int i=0; i<a; i++)
- for(int j=0; j<b; j++)
- {
- cout<<"x["<<i<<"]["<<j<<"]=";
- cin>>x[i][j];
- }
- getch();
- }
Advertisement
Add Comment
Please, Sign In to add comment