| Task: |
-
Review how to define a class and declare variables as objects of a given
class.
-
Create a "check" class (cCheck).
Include member variables for name and cost of: appetizer, salad (w/dressing),
main course, dessert and beverage.
Include member functions for setting each item, calculating a subtotal,
calculating a tax, calculating a total, printing the check, and governing
the entire process.
-
Create a program using this class to demonstrate it's implementation.
-
Submit your assignment according to Project
Submission Guidelines.
|