Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help answer this question ASAP! Problem 3 (52 points) Write a working program. Create a program that allows a user to enter in a

Please help answer this question ASAP! image text in transcribed
Problem 3 (52 points) Write a working program. Create a program that allows a user to enter in a specific number of desserts (the number is indicated by the user). The program should continue until that number is reached (see sample run). An owner can check the list of desserts entered so far after they enter an ID of ABC 333 (they should be continuously prompted for the correct ID if they do not enter the right one). If no desserts have been entered, the program should print to screen No desserts yet. YOU ARE NOT REQUIRED TO USE METHODS. Sample Run Enter owner if owner or customer if you are customer owner -Hello owner. Enter ID: ABC 333 How many desserts? 2 Enter owner if owner or customer if you are customer. owner -Hello owner. Enter ID: ABC Wrong ID. Enter ID: ABC 333 No desserts yet. --Dessert List- cake Enter owner if owner or customer if you are customer. customer -Enter a dessert: cookie Enter owner if owner or customer if you are customer. customer -Enter a dessert: cake 2 dessert(s) entered. Problem 3 (52 points) Write a working program. Create a program that allows a user to enter in a specific number of desserts (the number is indicated by the user). The program should continue until that number is reached (see sample run). An owner can check the list of desserts entered so far after they enter an ID of ABC 333 (they should be continuously prompted for the correct ID if they do not enter the right one). If no desserts have been entered, the program should print to screen No desserts yet. YOU ARE NOT REQUIRED TO USE METHODS. Sample Run Enter owner if owner or customer if you are customer owner -Hello owner. Enter ID: ABC 333 How many desserts? 2 Enter owner if owner or customer if you are customer. owner -Hello owner. Enter ID: ABC Wrong ID. Enter ID: ABC 333 No desserts yet. --Dessert List- cake Enter owner if owner or customer if you are customer. customer -Enter a dessert: cookie Enter owner if owner or customer if you are customer. customer -Enter a dessert: cake 2 dessert(s) entered

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Upgrading Oracle Databases Oracle Database New Features

Authors: Charles Kim, Gary Gordhamer, Sean Scott

1st Edition

B0BL12WFP6, 979-8359657501

More Books

Students also viewed these Databases questions