Define Class point with the following details
Class Name    Point
Data members 
A[][] double dimensional array
R Integer to store row size
C Integer to store column size

Member Functions

point(int p , int q)  Constructed to assign p to R and q to C and create array of RXC order
void get_array() - to input a double dimensional array in the form of matrix of given rows and columns
void display_mat() -   to print the entered matrix.
int check_pseudo(int a[]) - to check and find whether elements in each row are pseudo numbers 
or not return 1 if numbers in rows are pseudo numbers else return 0
void result() - invoke check_pseudo() to find whether the numbers in each row are pseudo nnumbers or not and display result in the given format.
            
Input Matrix 
3 5 2 4
2 5 4 9 
8 6 8 7

Output
    row 1 pseudo numbers
    row 2 not pseudo numbers
    row 3 not pseudo numbers
            








     
                     

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