Company: Deutsche Bank IIT Guwahati_12feb
Difficulty: medium
Minimum Cost Pizza Order You are given a menu of available pizzas and a customer's order. Your task is to calculate the minimum cost to fulfill the order by strategically applying at most one of the available discounts. Input Data Structures Menu (Inventory) A list of available Pizza types. struct Pizza { string name; string size; double price; }; // Example: [ {"Margherita", "Medium", 15.00}, {"Margherita", "Large", 20.00}, {"Pepperoni", "Medium", 17.00} ] Order (Cart) A list of items the customer wants to buy. struct OrderItem { string name; string size; int quantity; }; // Example: [ {"Margherita", "Large", 3}, {"Pepperoni", "Medium", 2} ] Task Write a function that calculates the total cost for the order under each of the following five scenarios and returns the minimum cost found. Before checking discounts, you must first determine the Base Price of the order (Scenario 1). Scenarios & Discounts You must calculate the price for all 5 scenarios and return the lowest one. Scenari