Post date: Nov 5, 2017 9:54:11 AM
Multidemsional array 1. Write a C program to store temperature of two cities for a week and display it using 2-D array int temperature[CITY][WEEK] Sample Output: Enter the city no. & Temperature City 1, Day 1: 33 City 1, Day 2: 34 . . City 1, Day 7: 30 City 2, Day 1: 23 City 2, Day 2: 22 . . City 2, Day 7: 26
******************************************************************************************* 2. Write a C program to find the sum of two matrices of order 3*3 using multidimensional arrays. Sample Output: Enter elements of 1st matrix Enter a11: 2 Enter a12: 9.9 Enter a21: 8 Enter a22: 7 Enter elements of 2nd matrix Enter b11: 0.2 Enter b12: 0.99 Enter b21: 0.23 Enter b22: 28 Sum Of Matrix: 2.2 10.89 8.23 35 ********************************************************************************** 3. Write a C Program to Find Transpose of a Matrix. Your Program should include the following steps: i.)User input : No. of rouws and columns ii.)Storing elements of the matrix iii.)Computing Transpose of matrix. iv.)Displaying Original Matrix. v.)Displaying Tranpose of matrix. ************************************************************************************