Need help with my C++ homework. Thank you guys!
Create a C++ project that lets the user to enter the stock priceit closed for any number of days. Use a sentinel value you choose.If the sentinel value is the first you enter, give a message “NOstock was entered!”. Use a counter to keep the number of the stockprice entries and an accumulator for the total of all entries.
When the user finishes entering the prices, calculate theaverage and display it on the screen
Expert Answer
An answer will be send to you shortly. . . . .