Question: #include #include using namespace std; double getListAverage ( vector ) ; int main ( ) { double inputValue; vector valueList; double average; vector smallList; vector
#include
#include
using namespace std;
double getListAveragevector;
int main
double inputValue;
vector valueList;
double average;
vector smallList;
vector largeList;
Assume the user will enter a number, but make sure
the number is greater than
TODO: Capture user input.
cout "Enter a Number Greater Than : ;
cin inputValue;
while inputValue ;
valueList.pushbackinputValue;
Get Average
average getListAveragevalueList;
Get small values
TODO: Call function to get small values
Get large values
TODO: Call function to get large values
cout endl "Average: average endl;
Print small values
cout endl "Small values: ;
TODO: Print small values
cout endl "Large values: ;
TODO: Print large values
cout endl;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
