Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

****************** C++ Please 2. [30 pts] Mocha Joe's Develop a PoS (Point of Sales) system in C++ for Mocha Joe's Coffee shop. The PoS system

******************

C++ Please

image text in transcribed

2. [30 pts] Mocha Joe's Develop a PoS (Point of Sales) system in C++ for Mocha Joe's Coffee shop. The PoS system consists of a class defined in Mocha.h and member definitions in Mocha.cpp. The class consists of member variables to hold the name of the customer, type of beverage, size of beverage, quantity per order, and total price for the order calculated using Table 1 plus 5% tax. Beverage Mocha Tall $3.50 Venti $4.50 $4.00 Latte Grande $4.00 $3.50 $3.00 $3.50 $3.00 Chai $2.50 $3.00 $3.50 $4.00 Matcha Table 1: Mocha Joe's Menu Generate an order number that increments on every order. Create a public member functions that takes the order and displays the receipt. Test this class by creating five different orders (either as single or multiple class instance) in mochajoe.cpp. A sample output is shown in Figure 1. The makefile and sample files are provided

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions

Question

Write a Python program to check an input number is prime or not.

Answered: 1 week ago

Question

Write a program to check an input year is leap or not.

Answered: 1 week ago