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