create 2 class which crate and depot

class Crate with
· data members: city where it came from, arrival day (1≤arrival_day≤30), purchase price, status flag to describe the status of a crate (e.g. -1:not available, 1:available, and 0:sold).
· Default constructor is used to initialize arrival day and purchase price to zero and also status to -1.
· Set member function is used to assign city, arrival day and purchase price from input parameters and then it updates the status by 1.
· Other member functions should be defined when required.
Create class Depot with:
· data members: A pointer to Crate objects with an array size 100. There are two static members that are publicly accessible. One of them is to hold total profit that can be calculated from
· where sell price is 10 percent of purchase price. Other static data member is to represent total number of entry (entry≤100).
· Constructor dynamically creates an array of Crate objects (array size is assumed to be 100 so that there can be at most 100 sales per each month.
· arrival(entry) is a member function to set arrival day, price and city information for maximum number of entry (entry<=100) that represent the number of crates.
· sell() is member function
o to find the latest crate arrived to the depot ;
o to sell it by setting its status to 0;
o to update the total profit for sales with a sell price (sell price is calculated as 10% purchase price for that crate)
· display() member function is used to display the total amount of sell profit for that month.