I am suppose to write a c++ program that show
1. shows the different breakfadt items offered
2. allow the customer to make more than one selection
3.allow the user to select multiple orders of a particular type
4. calculate and display the bill
This is what i've got so far. I am confused on the code on making the selection
//Automates a resturants billing system
#include <iostream>
#include <conio.h>
using namespace std;
enum menuListType{Egg, Bacon and Egg, Muffin, Toast, Fruit, Cereal, Coffee, Tea};
struct menuItemType
{
string menuItem;
double menuPrice;
menuListType item;
};
void getData(menuItemType&);
void getMenu();
void displayCheck(menuItemType);
int main()
{
cout << fixed << showpoint;
getData(menuList);
getMenu();
displayCheck(menuList);
return 0;
}
void getData(menuItemType)
{
cout << "Enter breakfast item;" << endl;
cin >> item;
return0;
}
void showMenu()
{
cout << "Welcome to Johnny's Resturant" << endl;
cout << " Items Served" << endl;
cout << "Plain Egg" << "" << $1.45" << endl;
cout << "Bacon and Egg" << "" << $2.45" << endl;
cout << "Muffin" << "" << $0.99" << endl;
cout << "French Toast" << "" << $1.99" << endl;
cout << "Fruit Basket" << "" << $2.49" << endl;
cout << "Cereal" << "" << $0.69" << endl;
cout << "Coffee" << "" << $0.50" << endl;
cout << "Tea" << "" << $0.75" << endl;
}
void displayCheck(menuItemType)