Question: Please Answer all parts! 1. Write a function C2F to convert Temperature in degree Celsius to degree Fahrenheit which takes input arguments double CTemp and
1. Write a function C2F to convert Temperature in degree Celsius to degree Fahrenheit which takes input arguments double CTemp and returns CFahr. Call this function in main function to convert any given temperature from Celsius to Fahrenheit. (2.5 points) 2. Write a module with argument CTemp and CFahr which converts any given temperature from Celsius to Fahrenheit. Call this module in main function and verify its results. (2.5 points) 3. From the nested loops concept, Dynamic memory Allocation and Structures, we learned in the class, (10 points) a. Write a module to Transpose a Matrix A of size 4X3 (rows X columns) into Matrix B. Note, give appropriate values to the rows and columns of Matrix B. b. In the main function, DefineMatrix A and B. Display Matrix A and then invoke the newly written Transpose function to accomplish B=AT. Then display Matrix B in the following format. 100010001000 4. Write another module Reverse, (5 points) a. To create a new Matrix C (33) from a Matrix D (33) where elements of Matrix C are modified as follows: An example of Matrix Resultant Matrix C must look like: b. Display the Matrices C and D in the format shown above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
