struct FoodStorage
{
string Food;
float weight;
int Cal;
int Pot;
bool HasPreserv;
struct Date{
int Year;
int Month;
int Day;
};
};
void display(FoodStorage n)
{
cout << "The food name is " << n.Food << endl;
cout << "The weight of this item is:" << n.weight<<endl;
cout << "The potassim in food" << n.Pot << endl;
cout << "Calcium in food" << n.Cal << endl;
cout << "The item preservatives y/n";
if (n.HasPreserv == true)
{
cout << "Yes";
}
else cout << "No";
// What should I cout here?
cout << "The expiration date" << ;
}