Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 : Programming Assignment # Once cloned,
develop a program to do the following:
Create a Point of Sale POS program to sell surfboards in three sizes: small meters medium meters
and large meters The cost of one small surfboard is $ one medium is $ and one large is
$ 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 MakePurchaseint& totalSmall, int& totalMedium, int& totalLarge
a function to sell surfboards.
void DisplayPurchaseconst int totalSmall, const int totalMedium, const int totalLarge
function to show the number of surfboards of each size sold.
void DisplayTotalconst 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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started