Design a class point which contains Following:

Data members -  a 2d array, row size,col size row index, col index and other
data members as required.

Member Functions
(a) void get_array() - to input 2d array
(b) void display_mat() - to print the matrix
(c) void check_saddle()  - to find and print the saddle Entered Matrix set (a saddle point for any matrix exist in all the rows 
if and only if smallest element from each row should be greatest in the corresponding column)

Example :
3 5 7 4
1 6 4 9
2 4 7 5

The output should be saddle point is 3 
(row =0 and column = 0)

Also write the main() method
            
            
            








     
                     

Contact Us

REACH US

SERVICES

  • CODING
  • ON-LINE PREPARATION
  • JAVA & PYTHON

ADDRESS

B-54, Krishna Bhawan, Parag Narain Road, Near Butler Palace Colony Lucknow
Contact:+ 919839520987
Email:info@alexsir.com