Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 NOTES: (a) can only use while, do-while or for loops

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Demystified

Authors: Andrew Oppel

1st Edition

0072253649, 9780072253641

More Books

Students also viewed these Databases questions

Question

Dont off er e-mail communication if you arent going to respond.

Answered: 1 week ago