Question: For this assignment, you will need to clone the repo: Week 0 5 : Programming Assignment # 1 . Once cloned, develop a program to

For this assignment, you will need to clone the repo: Week 05: Programming Assignment #1. Once cloned,
develop a program to do the following:
Create a Point of Sale (POS) program to sell surfboards in 3 three sizes: small (2 meters), medium (3 meters),
and large (4 meters). The cost of one small surfboard is $175.00, one medium is $190.00, and one large is
$200.00. Write a program that will make the surf shop operational. Your program should allow the user to
do the following:
Buy any surfboard in any size and in any quantity.
At any time show the total number of surfboards of each size sold.
At any time show the total money made.
Your program must consist of "int main()" and only the following functions:
void ShowUsage()
a function to show the user how to use the program.
void MakePurchase(int& totalSmall, int& totalMedium, int& totalLarge)
a function to sell surfboards.
void DisplayPurchase(const int totalSmall, const int totalMedium, const int totalLarge)
function to show the number of surfboards of each size sold.
void DisplayTotal(const int totalSmall, const int totalMedium, const int totalLarge)
a function to show the total amount of money made.
Finally, your program must write the number and type of purchased items, along with the total to a file
named: total.dat
i need this in c++ and for it to stop looping over and over again
 For this assignment, you will need to clone the repo: Week

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!