Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program in C++ using GUI using header files and make file. Submit a folder named closet that contains the main function (in a

Write a program in C++ using GUI using header files and make file. Submit a folder named closet that contains the main function (in a file closet_main.cpp)and any header files you include. DO NOT forget to include a MAKEFILE. (Automatic zero if you code everything in closet_main.cpp)

Marko wants to clean out and sell some of the items in his closet. He has asked you to create a program to help him do this. The program should allow him to enter the products he wants to sell (along with the price) and then continuosly allow customers to look for a product and buy it. Marko should be able to check at any time the amount of money he has made from sales.

PROGRAM SHOULD BE through GUI ONLY:

Hello closet cleaner! Enter your name: Marko How many items do you want to sell? 3 Enter item and price: belt 3.50 Enter item and price: shoes 8.75 Enter item and price: pants 4.25

*************** Markos Closet! ***************

Hello shopper! What item are you looking for? shoes We have shoes for $8.75.Would you like to buy them? yes Ok!

Hello shopper!What item are you looking for? sunglasses Sorry! We dont have that. Hello shopper!What item are you looking for? check balance Hello Marko!So far you have made $8.75. Hello shopper!What item are you looking for? exit Bye

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

Database Principles Programming And Performance

Authors: Patrick O'Neil, Elizabeth O'Neil

2nd Edition

1558605800, 978-1558605800

More Books

Students also viewed these Databases questions

Question

4. How does formal communicati dili .

Answered: 1 week ago

Question

5. Discuss the key roles for training professionals.

Answered: 1 week ago