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.

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

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 2 using namespace std; 4 5 // add array print prototype here 7 8 I/ add array multiple prototye here 10 11- int main) 12 13 14 15 16 17 18 19 20 21 float x[5] 1.2,10,11.5,17.6,56.4; float y[5] 14.5,54.3,12,45,100.43; // use the print function to print out arrays x and y here // use the multiple function arrays x and y here 23 24 25 26 27 28 29 30 create multiple function here 31 // use the print function to print out multiplied array here // delete memory here 32 34 I/ create print function here 35 36

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!