Question: C++ please! Create an array of type double with 25 elements. Call a function to fill the array with random values generated to be in

C++ please!

Create an array of type double with 25 elements. Call a function to fill the array with random values generated to be in the range of -50 to +50. 1. Using standard array notation, print all values in the array on one line with 2 decimal points, separated by a space 2. Using array offset notation, print all values in the array, from last index to first, on one line, each separated by a space 3. Using pointer notation, print all negative values on one line, each separated by a space 4. Using pointer offset notation, print all positive values on one line, each separated by a space Print all numbers with 2 decimal places. Print a blank line and a description line above each set of values printed Reminder: array notation myArray[ x ]; array offset notation *(myArray + x); pointer notation * arrayPtr; pointer offset notation *(arrayPtr + x);

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!