## Featured Program

Accept x and y coordinates of two points and write a menu driven program to perform the following operations till the user selects Exit.
i. Distance between points
ii. Slope of line between the points.
iii. Check whether they lie in the same quadrant.
iv. EXIT

Write a menu driven program to perform the following operations on a square matrix. Write separate functions for each option.
i) Check if the matrix is symmetric.
ii) Display the trace of the matrix (sum of diagonal elements).
iii) Check if the matrix is an upper triangular matrix.
iv) Check if the matrix is a lower triangular matrix.
v) Check if it is an identity matrix.

Accept n integers in array A. Pass this array and two counter variables to a function which will set the first counter to the total number of even values in the array and the other to the
total number of odd values. Display these counts in main. (Hint: Pass the addresses of the counters to the function)

Write a function which accepts a number and three flags as parameters. If the number is even, set the first flag to 1.
If the number is prime, set the second flag to 1. If the number is divisible by 3 or 7, set the third flag to 1. In main, accept an integer and use
this function to check if it is even, prime and divisible by 3 or 7. (Hint : pass the addresses of flags to the function)

Accept the number of rows (m) and columns (n) for a matrix and dynamically allocate memory for the matrix.
Accept and display the matrix using pointers.Hint: Use an array of pointers.