Write a C program using the Xt and Motif libraries to create a calendar with a graphical interface that keeps track of events.
The interface should consist of:
To add an event to the calendar, the user sets the date, using the scale widget and then pushes the Add Event button. This should cause a text widget to appear where the user can type a text of their choice. The program should keep track of all the events entered by the user. Please note that the user can enter more than one event for a particular day.
To retrieve an event previously entered for a given day, the user first sets the date and pushes the Retrieve button. The program should display the first line of each text, entered by the user for that given day, in the scrollable list. The user can then choose an item from the list which the program will display in a text widget.
Please upload your source code along with compiling instructions, via my upload utility.