Question: Write program for this using C++ code Exercise 1: Basic Numeric Computation 1. Create an array of 5 doubles. (We know the size at comple
Exercise 1: Basic Numeric Computation 1. Create an array of 5 doubles. (We know the size at comple time, where do you want to allocate this?) 2. Now that you have an array, we need to get values Create a loop that will ask the user to input values for the array Display the values back to the user after you obtain all of them Test this before moving on 3. Calculate sum, average, min, and max for the array of doubles Please enter 5 numbers Input a number into your array: 18. Input a number into your arrays 6. Input a number Into your array: 4. Input a number into your array: . Input a number Into your arrays 15. Here are all the numbers in your array 10.0 6.0 4.0 0.0 15.0 The sue of all the values is: 35. The average of all the values is: 7.e The largest value is 15.0 The smallest value is : o.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
