Advertisement
laith-0093

C++

Jan 16th, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #include <iostream.h>
  2. #include <conio.h>
  3. void main( )
  4. {
  5. int b[3][3];
  6. int i,j;
  7. cout << "Enter numbers: \n";
  8. for (i=0; i<3; i++)
  9. {for (j=0; j<3; j++)
  10. cin >> b[i][j];}
  11. for (i=0; i<3; i++)
  12. {for (j=0; j<3; j++)
  13. cout << b[i][j];
  14. cout << "\n";}
  15. getch ();
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement