Reference no: EM132360989
Question
In this project, you will design the logic for a program to perform the following task: Design the logic for a program for a café to provide some customer market research data. When a customer places an order, a clerk asks for the customer's zip code and age. The clerk enters that data as well as the number of items the customer orders. The program operates until the clerk enters a 0 for the zip code at the end of the day. At the end of the day the program will display the following:
•A count of the number of items ordered by all customers
•A count of items ordered by customers under 30
•A count of items ordered by customers over 65.
You will turn in your flowchart, pseudocode, inputs, outputs and desk check.
Problem Analysis:
• What is the required output?
• What are the necessary inputs?
Program Design: Specifically address each of the following points:
• Complete pseudocode for the program.
• Flowchart for the program.
Test Cases: Provide two test cases, presenting the inputs and required outputs for each case, and the resulting action of the program. Present your test cases in a table.