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. Whenthe user finishes entering the prices, calculate the average anddisplay it on the screen NOTES: (a) can only use while, do-while orfor loops
Expert Answer
An answer will be send to you shortly. . . . .