Write a program to check whether given character is a digit or a character in lowercase or uppercase alphabet.
(Hint ASCII value of digit is between 48 to 58 and Lowercase characters have ASCII values in the range of 97 to122,
uppercase is between 65 and 90) */
Write a program to accept marks for three subjects. Calculate the average and also display the class obtained. (
Distinction â€“ above _____Class I â€“ above __%, class II â€“ ___% to ___%, pass class â€“ ___% to ___% and fail otherwise) */
Write a function isEven, which accepts an integer as parameter and returns 1 if the number is even, and 0 otherwise. Use this function in main to accept n numbers and check if they are even or odd.
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.
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.