Question

Hello, I have been working all night on a flowchart for school : Design a program...

Hello,
I have been working all night on a flowchart for school : Design a program using Flowgorithm or any flowcharting software that asks the user to enter a store's sales for each day of the week. The amounts should be stored in an array. Use a loop to calculate the total sales for the week and display the result.

Those are the instructions, this will be due tonight and I was hoping to fix it, I am just having an issue with the array, also I am taking intro to computer programming logic and design, I am just learning the basics of python and c++, I submit most of my projects through flowgorithm charts and psuedocode, but the class is mostly online. Any help would be very much appreciated!

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The solution of the above problem can be given as below:

Flow Char:Main Integer Array Array[7] Creating an array to store the sales of each day starting from Sunday to Saturday Integer totalSaAt the starting of the weekſi.e. Sunday) total sales = 0 totalSales = 0 Iterating for each day of the week Next i = 0 to 6 Do

Output console:

Console - D x Variable Watch - Q QEOONIL05 Main Array 10 20 30 40 4 50 5 60 | 70 totalSales 280 280 Enter

Pseudo Code:

Function Main Declare Integer Array Array[7] ... Creating an array to store the sales of each day starting from Sunday to Sat

Please like the post and comment for any query related to the problem

Thanks for liking the post !

Add a comment
Know the answer?
Add Answer to:
Hello, I have been working all night on a flowchart for school : Design a program...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT