Design and implement a c++ program which, when executed by the computer, fills an array with pseudorandomly generated integer values between Min_Value and Max Value, which are constants. The array should hold n values, where n is a constant. The computer should then output the contents of the array and sum of array element values. Write and invoke a function to sum the elements in the array in the main function.
I need some assistance on how to get the Min_value and Max_value to work for my Programming assignment. If its possible give me feedback if I followed the intructions correctly.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
void Fill(int[]);
void SumArray(int[], int&);
int GetMaxElement(int[]);
int GetMinElement(int[]);
const unsigned int Array_Size = 10;
// =================
int main() {
void Fill();
void SumArray();
int GetMaxElement();
int GetMinElement();