
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
النسخة 7الرقم المعياري الدولي: 1285225562
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
النسخة 7الرقم المعياري الدولي: 1285225562Design a program for the Café Noir Coffee Shop 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 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 re-prompts the clerk continuously. When the clerk enters fewer than 1 or more than 12 items, the program re-prompts 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
الخطوة 1 من10
Flowchart:
Flowchart of program by which the orders placed by customers who reside in coffee shop 54984 are detected as follows:
الخطوة 2 من 10
الخطوة 3 من 10
الخطوة 4 من 10
الخطوة 5 من 10
الخطوة 6 من 10
الخطوة 7 من 10
الخطوة 8 من 10
الخطوة 9 من 10
الخطوة 10 من 10
لماذا لم يعجبك هذا التمرين؟
أخرى