InterviewSolution
| 1. |
In Hackerland every character has a weight. The weight of an English uppercase alphabet A-Z is given below : A = 1 B = 2*A + A |
|
Answer» ProgramizC PROGRAM to FIND Transpose of a MatrixC Program to Find Transpose of a MatrixIn this example, you will learn to find the transpose of a MATRIX in C programming.To understand this example, you should have the knowledge of the following C programming topics:C ArraysC Multidimensional ArraysThe transpose of a matrix is a new matrix that is obtained by exchanging the rows and columns.In this program, the user is asked to enter the number of rows r and columns c. Their values should be less than 10 in this program.Then, the user is asked to enter the elements of the matrix (of order r*c).The program below then computes the transpose of the matrix and prints it on the screen.Program to Find the Transpose of a Matrix#include |
|