I need help with this solution in pseudocode.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter1: An Overview Of Computers And Programming Languages
Section: Chapter Questions
Problem 18SA: 18. Tom and Jerry opened a new lawn service. They provide three types of services: mowing,...
icon
Related questions
Question
100%

The Café Noir Coffee Shop wants some market research on its customers. 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 continuously until the clerk enters a 0 for zip code at the end of the day.
When the clerk enters an invalid zip code (more than 5 digits) or an invalid age
(defined as less than 10 or more than 110), the program reprompts the clerk
continuously. When the clerk enters fewer than 1 or more than 12 items, the program
reprompts the clerk two more times. If the clerk enters a high value on the third
attempt, the program accepts the high value, but if the clerk enters a negative value on
the third attempt, an error message is displayed and the order is not counted. At the
end of the program, display a count of the number of items ordered by customers
from the same zip code as the coffee shop (54984), and a count from other zip codes.
Also display the average customer age, as well as counts of the number of items
ordered by customers under 30 and by customers 30 and older.

I need help with this solution in pseudocode.

Please and thank you.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT