Write a program to create a structure named Date with three members i.e, day (int), month (String), year(int). Create another structure named Event with five members i.e, name(String), type(String), duration(int in days), expenses (in lakhs, float)), scheduledDate (date). Below are the Date and Event structure:struct Date{int day;string month;int year;};struct Event{string name;string type;int duration;float expenses;struct Date scheduledDate;};In the main method, create an array of Events for the structure Event and get the details of all events and display the events sorted in ascending order based on scheduled date.Input and Output Format:Refer sample input and output for formatting specifications.[All text in bold corresponds to input and the rest corresponds to output.]Sample Input and Output:Enter the number of events3Enter the name of the event 1Food Fest 2017Enter the
Answers
Answered by
0
Answer:
dododkdksk
Explanation:
please mark as brainleast
Similar questions