C++ Vector Number Input And Output

C++ Vector Number Input And Output

Create a vector that allows the user to enter as many numbers as they wish (assume they will enter at least 1 number). The user will enter non-negative numbers (greater than or equal to zero) one at a time. When the user wishes to no longer enter numbers, the user should enter -1 to signal they are done.
When the user is done entering numbers, print in order:

How many numbers the user entered.
The numbers the user entered in order.
The smallest number they entered.
The largest number they entered.
The first number they entered.
The last number they entered.

The post C++ Vector Number Input And Output appeared first on Best Custom Essay Writing Services | ourWebsite.

C++ Vector Number Input And Output

 

 

OR 

C++ Vector Number Input And Output

Create a vector that allows the user to enter as many numbers as they wish (assume they will enter at least 1 number). The user will enter non-negative numbers (greater than or equal to zero) one at a time. When the user wishes to no longer enter numbers, the user should enter -1 to signal they are done.
When the user is done entering numbers, print in order:

How many numbers the user entered.
The numbers the user entered in order.
The smallest number they entered.
The largest number they entered.
The first number they entered.
The last number they entered.

The post C++ Vector Number Input And Output appeared first on Best Custom Essay Writing Services | ourWebsite.

C++ Vector Number Input And Output

 

Leave a Comment

Your email address will not be published. Required fields are marked *