Assignment III - Basic 'C' Get link Facebook X Pinterest Email Other Apps June 03, 2020 Assignment IIIWrite a ‘C’ program to add two matrices of order m X n.Write a ‘C’ program to check if a n X n matrix is symmetric. Write a ‘C’ program to read a matrix and calculate the sum of its diagonal elements. Write a ‘C’ program to subtract two matrices of order m Xn. Write a ‘C’ program to read a matrix and display its transpose. Write a ‘C’ program to check if a matrix is upper triangular. Write a ‘C’ program with menu to perform the following operations on a character. 1. Check uppercase or lowercase 2. Display its ASCII value 3. Display its next and previous character 4. Exit. Write a menu driven program to perform the following operations on an integer. Write separate functions. 1. Check if is even or odd 2. Check if it is prime 3. Exit Accept two numbers and perform the following operations till the user selects Exit. 1. Maximum 2. Display all numbers between the two 3. Sum and average 4. EXIT Write a function in ‘C’, which accepts a character and integer n as parameter and displays the next 'n' characters. Write a ‘C’ program, which accepts annual basic salary of an employee and calculates and displays the Income tax as per the following rules. Basic: < 150000 Tax = 0 , 150000 to 300000 Tax = 20%, > 300000 Tax = 30% Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment
Please do not enter any spam link in message.