It is supposed to dynamically allocate an array of values of data-type double. It will prompt the user for the number of entries that need to be allocated. Assume that data has already been put into the Parts array. You must use the built-in C function strcmp to print out the price of a part named strut . If this part is not in the array, then print Not found .
Parts has the name strut .
Write the output produced when the following program is executed. Assume that string.h has already been included for you. Keep in mind that the product of two fractions is also a fraction. Write a function addMatrix that adds two matrices component by component. The header for addMatrix is given below.