Get medium mode and average of the list of numbers. Display the original list and the list in ascending and descending order

Could you help me to finish this C++ program?

Put the code you need help with here.
#include <iostream>
#include <ctime>
#include <cstdlib>
#include<stdio.h>
#include<conio.h>
void getMedium(int, int[]);
void getMode(int);
double getAverage(int, int[]);
using namespace std;
int main()
{
srand((unsigned)time(0));
int random_integer;
int lowest=1, highest=1000;
int range=(highest-lowest)+1;

for(int index=0; index<200; index++)
{
random_integer = lowest+int(range*rand()/(RAND_MAX + 1.0));
cout <<random_integer<< endl;
}
return 0;
}
Topic archived. No new replies allowed.