Write a C++ program using pointers that will create dynamically allocated array of monthly sales figures whose size has been input by the user. After prompting the user to input the sales figure, it will find the highest monthly sales amount and the lowes

computer science

Description

Write a C++ program using pointers that will create dynamically allocated array of monthly sales figures whose size has been input by the user. After prompting the user to input the sales figure, it will find the highest monthly sales amount and the lowest monthly sales amount. And it will calculate the average sales of the monthly figures. The program should be modular with each major task being handled by its own function. ( PLEASE USE POINTERS. ) Sample run: Please input the number of the monthly sales figures to be input: 4 Please input the sales for month 1: (some number) Please input the sales for month 2: (some number) Please input the sales for month 3: (some number) Please input the sales for month 4: (some number) The highest monthly sales amount was (highest sale) The lowest monthly sales amount was (lowest sale) The average sales amount for 4 sales figures is (average)


Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.