class Order
{
int tableNumber;
string serverName;
int numberOfPatrons;
static float minCharge = 4.75;
public:
static void displayMinCharge()
{
cout << "Minimal charge is " << minCharge;
}
}
int main()
{
displayMinCharge();
return 0;
}
Comments
Dear hammad , if you have serious assignment that requires large amount
of work and hence cannot be done for free you can submit it as assignment and our
experts will surely assist you.
Using the same Order class, write a main()function that declares an Order object, assigns appropriate values, and displays the Order data, including the minimum charge for the table (the minimum charge times the number of patrons at the table).
Leave a comment