Write a program by creating these structures:
- a Date structure (fields are: day, month, year)
- a Time structure(fields are: hour, minutes)
- an Exam structure (fields are: Course Name, Room#, Datestructure, Time structure) — this is a nested structure
Now create an array of three Exam structures and ask the userfor the data to be stored in this. then display the time, date andRoom number of the exams like sample run below. You decide whetherto use functions or not.
Sample Run:
- Introduction to Programming : 05-21-2020 at 9:30 in Room101
- Beginning Spanish : 05-22-2020 at 10:00 in Room 201
- Introduction to Business : 05-23-2020 at 11:00 in Room 301
Expert Answer
Answer to Write a program by creating these structures: a Date structure (fields are: day, month, year) a Time structure(fields ar…