Question: Write a small program in C + + that contains the following functions: void welcome ( ) prints a message welcoming the user void goodbye

Write a small program in C++ that contains the following functions:
void welcome()
prints a message welcoming the user
void goodbye()
prints a message bidding the user goodbye
int input()
accepts an integer between -100 and 100 from the user and returns
the value
if the user inputs a number less than -100 or greater than 100, the
function prompts for additional input
this function can assume the user will only give integer input
void print_statistics(int values[], int count)
accepts an array values, containing count integers.
prints the minimum value, maximum value, and sum of the first count
elements of the values array.
int main()
Welcomes the user.
Accepts and records 10 integers from the user with the input function
(ignoring input below -100 and above 100, as outlined for the input
function).
Prints the minimum, maximum, and sum of all recorded inputs.
Bids the user goodbye
 Write a small program in C++ that contains the following functions:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!