Question: Write a full C + + program please COMPSCI - 1 Assignment Chapter 7 Requirements: 1 . The behaviors of your program should be well

Write a full C++ program please
COMPSCI-1 Assignment Chapter 7
Requirements:
1. The behaviors of your program should be well-defined. The definitions should be clear and specific such that one can reasonably tell whether your program is correct according to your definition. The definition should have enough details so that another programmer can create a similar program according to your definition.
2. The program is of sufficient complexity
3. The program is interactive (i.e. it allow inputs from the user and provides feedback to the user). The program uses user interfaces that provide clear, well-designed, and visually pleasing feedback to the user.
4. Your program should perform file input/output. It should read and write to an external file. An example of how files can be used in your program is storing persistent program state or data (such as scores for a game, large amount of external input data).
5.Your program must show good modularized program design using functions. Your program must define and use at least three functions. Functions should be used to maximize code reuse and ease of code maintenance (there will be point deductions if your program contains a significant amount of redundant code)
6. Your program must use named constants where appropriate (i.e. there should be no hard-coded literals other than named constants)
7. Project should use a data structure
8. Your program should NOT use any global variables unless specifically needed and documented.
9. Your project must make use of object oriented design SPECIFICALLY classes
MODIFY TO INCLUDE AT LEAST 3 FUNCTIONS AND USE OBJECT ORIENTED DESIGN indicate where each is used
Project Psuedocode to follow:
-Cout use a class to give the Starbucks an overall rating of 4 out of 5
-promt user yes or no if they would like to enter if yes continue to next if no end program
-cout a - menu - in a tabular form with each item labled with a number for user to place
an order in the next step along with price
-once the menu is couted the user will then be prompted to place an order
-once the user puts in the order they will be asked "can I get you anything else?" (yes or no)
-if yes the user will be prompted to put another number corresponding to an item on menu
if no the user will be asked "can I get a name for the order" at which time the user will enter their name
-create a total amount that the order will cost with a 7% tax rate
-ask user if that will be paid with cash or card
-if user says cash prompt them top input how much cash they would like to pay with and cout a
amount of change that they will receive back. account for if they don't put enough cash in dollars by stating
that they need to pay more money. continue to next
-if user says card output "approved" and change as 0.00 and continue to next
cout "Okay I will have that ready in just a moment"
-use a random function that will pick between 1 and 2 if 1 if picked delay next cout for 5 seconds
and cout "order for (name user entered) have a good day" if 2 is picked delay for 12 seconds and cout
"order for ( nameUser entered), sorry for the wait we are busy right now have a good day"
-promt user to say either 1 or 2,1 for "you too" or 2 for "Im never coming back here"
End Program
Write a full C + + program please COMPSCI - 1

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 Programming Questions!