i'm very new to this...
Does anyone have any idea on how to start this program?
Any help would be appreciated.
Write a program that generates 50 random numbers of type integer ranges from 1 to 1000 and load all the numbers into a C++ vector. The program should then display the largest, the smallest, the sum, and the average values stored in the vector. Sort the vector in ascending order and display all values on screen.
#include<iostream>//to display the values on screan.
#include <cstdlib> // for rand() and srand()
#include <ctime> // for time()
int main()//this starts the program
{
srand(time(0)); // set initial seed value to system clock
//...your attampt
return 0;//this ends the program.
}