Question: Instructions Overview Write a program asking the user how much they spent the last five times they've eaten at a restaurant, then display the average

Instructions
Overview
Write a program asking the user how much they spent the last five times they've eaten at a restaurant, then display the average cost per meal.This must be accomplished using a loop
The program should use a loop to collect the data, calculate the total and average, and then display a custom message based on that average.
There should be at least three custom messages based on whether the user spends less than $10, less than $15, or more than $20 on average per meal. You can add criteria and messaging, but those three are required.
Requirements
The Flowchart must:
Contain the correct flowchart symbols
Represent the overall flow of the program
Be neat and professional (text contained in shapes, no arrows connected, etc.)
The Python Program must:
Run without error
Contain a loop to collect user input
Contain constants (no magic numbers!)
Dual and Nested Decisions
Contain appropriate comments that explain the logic (include your name)
Meet the minimum requirements as stated in the overview above
The Written Reflection must:
Be an insightful and detailed reflection (4-5 sentences)
Be written IN YOUR OWN VOICE (no AI-generated content)
Include the approach you took while problem-solving
List any resources you used to help solve the problem.
Be found in a block comment in the program.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!