Question: Follow the Instructions!!! In C++ Language. Assignment1 Create a function that prints out the values of a float array. The 1st input to the function
Follow the Instructions!!! In C++ Language.


Assignment1 Create a function that prints out the values of a float array. The 1st input to the function is the starting address of a float array The 2nd input to the function is the size of the array Assignment2 Create a function that multiples two float arrays (element by element). For example float x[5]1.2,10,11.5,17.6,56.4i float y54.5,54.3,12,45,100.4 The output of the multiplication should be 5.4 543 138 792 5662.56 Here are the function details Input 1 to the function is a pointer to the first array Input 2 to the function is a pointer to the second array Input 3 to the function is the size of the arrays Output is a pointer to a float array that holds the multiplied results of the input arrays Inside the function use the new operator to allocate memory for the outputted float array In the main function Use the print array function to print out the arrays xand y, and print out the values of the outputted array that holds the multiplied results. Delete the memory created for the multiplied results array #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
