Display a product number, name (or description), and price for four retail products. They could be food, clothing, auto parts, plants, tools, kitchen utensils, or any other type of retail product. Prompt the user to enter the product number of each product they wish to buy, one at a time, and provide an escape character or number so that the user can let the program know when they are finished shopping and are ready to check out. When this escape character or number is entered, display the name (or description) and price of each product they chose, the subtotal, the sales tax (8% of subtotal), and the total after sales tax. The user should be able to buy up to a maximum of 10 items (the user may want more than one of a product). Additionally, the program must use object orientation (a class and/or struct or multiple classes and/or structs).
j509 0 Newbie Poster
Schol-R-LEA 1,446 Commie Mutant Traitor Featured Poster
j509 0 Newbie Poster
j509 0 Newbie Poster
j509 0 Newbie Poster
j509 0 Newbie Poster
j509 0 Newbie Poster
Schol-R-LEA 1,446 Commie Mutant Traitor Featured Poster
j509 commented: thanks that helps. +0
ohman 0 Newbie Poster
j509 0 Newbie Poster
Schol-R-LEA 1,446 Commie Mutant Traitor Featured Poster
j509 0 Newbie Poster
ohman 0 Newbie Poster
j509 0 Newbie Poster
ohman 0 Newbie Poster
j509 0 Newbie Poster
ohman 0 Newbie Poster
j509 0 Newbie Poster
ohman 0 Newbie Poster
j509 0 Newbie Poster
ohman 0 Newbie Poster
j509 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.