Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Depend on the flowing situation write in program, use of C++ please. Your final

ID: 3604173 • Letter: D

Question

Depend on the flowing situation write in program, use of C++ please.

Your final project for CS102 will be to write a grocery store kiosk. Your program will be required to simulate the interaction between a customer and a self-checkout at a grocery store. Requirements 1. Must have a start menu that starts the transaction. The menu should look as follows Welcome to the CS102 Grocery Store Kiosk! Input the number of the task you wish to do. Make your selection now! 1. Start checkout 2. Look up item 2. The Checkout menu will have multiple options, to include: Add item, Remove item, Continue to payment, quit(and return to start menu). 3. There will be a "database" of items stored in the program files. When the user inputs a number, the program will check that array to see if the item exists. If it does, the kiosk then ask how many. After the user inputs a number, the kiosk will add that item(s) to the list of items to be purchased. If the item does not exist, or the user gives an invalid input (like 'c'), the program will tell the user so and then return to the checkout menu 3a. The item information will include the name, ID number(4 digits), and price of each item included.

Explanation / Answer

ocals: x, y, z

Globals: print

BEGIN

LOAD_CONST 1

STORE_FAST 0

LOAD_CONST 2

STORE_FAST 1

LOAD_FAST 0

LOAD_FAST 1

BINARY_ADD

STORE_FAST 2

LOAD_GLOBAL 0

LOAD_FAST 2

CALL_FUNCTION 1

POP_TOP

LOAD_CONST 0

RETURN_VALUE 0

END

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote