[SOLVED] Create a C++ project that lets the user to enter the stock price

15.00 $

Programming resource
, Digital learning resource
Categories: ,
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (3 votes)
Create a C++ project that lets the user to enter the stock price it closed for any number of days. Use a sentinel value you choose. If the sentinel value is the first you enter, give a message “NO stock was entered!”. Use a counter to keep the number of the stock price entries and an accumulator for the total of all entries.

When the user finishes entering the prices, calculate the average and display it on the screen

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.