Question: I would like to know whats the most efficient way to write the code for C + + about asking the end user to enter
I would like to know whats the most efficient way to write the code for C about asking the end user to enter data, but if the user enters the incorrect data then having a loop until the correct data is entered. ThanksWrite a program in C to ask user to enter today's sales amount for five stores.
The program should then display bar graph for each store's sale amount. The bar
graph will used asterisks where each asterisk represents $ of sale. Input
must be greater than
Note: There are only five stores so you may have variables such as salestore
salestore salestore salestore and salestore
Don't worry if some of the code looks repetitive. We will make it better later
after covering arrays.
Also, limit the sales amount entered to A simple assumption so that the
s printed will fit in one line.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
