C++ :
Please complete all the ” To do” in the following code to makeit prints a menu of food items; allows the user to enter items foran order; calculates a subtotal, discount, and total; then prints areceipt.
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
const int NUM_MENU_ITEMS = 10; // num items on the menu
const int MAX_ORDER_ITEMS = 5; // max num of items per order
const double DISCOUNT_MIN = 20.00; // min subtotal to getdiscount
const double DISCOUNT_RATE = 0.25; // disc rate forhighest-priced item
// Menu: parallel constant arrays
const string menuItem[NUM_MENU_ITEMS] = {
“Burger”, “Hot Dog”, “Chicken Fingers”, “Fries”,
“Tots”, “Tea”, “Coke”, “Diet Coke”, “Water”, “Cookies”
PayPal Gateway not configured
PayPal Gateway not configured