i need help in adding the c++ code for the average mark, highest mark, lowest mark, number of students passing, using array for this code.

#include<iostre am>
using namespace std;
int main()
{
int range [4]= {0,0,0,0};
int marks = 0;
int counter = 0;
cout << " Enter All The Marks" << endl;
while (marks < 101)
{

...