Question: Declare a class Cafe with the following: - Private Attributes coffeePrice, teaPrice, donutPrice, coffeeTotQty, teaTotQty, donutTotQty, discount, subtotal, discountedPrice and total. discount is a number

Declare a class Cafe with the following: - Private Attributes coffeePrice, teaPrice, donutPrice, coffeeTotQty, teaTotQty, donutTotQty, discount, subtotal, discountedPrice and total. discount is a number between 0100 and it represents a percentage, coffeePrice, teaPrice and donutPrice represent price of items. coffeeTotQty, teaTotQty and donutTotQty represent quantities cups and donuts in inventory
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
