I'm a bit (completely) lost on how to approach this. Any help on where to start or anything like that would be greatly appreciated.
In this lab, you complete a partially prewritten C++ program that uses an array. The program prompts the user to enter 10 integer values and store them in an array. It should then find the minimum and maximum values stored in the array as well as the average of the 10 values. The data file provided for this lab includes the input statement and some variables declarations. Comments are included in the file to help you write the remainder of the program.
#include <iostream>
#include <string>
using namespace std;
int main()
{
// Declare a named constant for array size here
// Declare array here
// Use this integer variable as your loop index
int loopIndex;
// Use this variable to store the number input by user
int value;
// Use these variables to store the minimim and maximum values
int min, max;
// Use these variables to store the total and the average
double total, average;
// Write a loop to get values from user and assign to array
cout << "Enter a value between -1000 and 999: ";
cin >> value;
// Assign value to array
// Assign the first element in the array to be the minimum and the maximum
min = numbers[0];
max = numbers[0];
// Start out your total with the value of the first element in the array
total = numbers[0];
// Write a loop here to access array values starting with numbers[1]
// Within the loop test for minimum and maximum values.
// Also accumulate a total of all values
// Calculate the average of the 10 values
// Print the values stored in the numbers array
// Print the maximum value, minimum value, and average