I am trying to create a program that uses two structures, one for the date and one to list events. The prototype will only track 5 events. I made the structures and figured out how to embed the DATE structure into the EVENT structure but my issue is with keeping the data separate. When a use enters data, how to I assign it to a specific event (like event1 and event2). I am also getting an error on the last line between the COUT and the DATA>EVENTDATE.
Why do you need to have them separately as event1, event2, event3, event4, event5, instead of just creating an array?
At any rate, all your input statements are wrong. You don't have variable Event data; anymore so stop using data. Also, remove the space characters on lines 24 and 32.