1.Use the date structure defined in Exercise 12.4 to store two dates. Develop a function that
will take these two dates as input and compares them.
Σ It returns 1, if the date1 is earlier than date2
Σ It returns 0, if date1 is later date
2. Define a structure to represent a vector (a series of integer values) and write a modular
program to perform the following tasks:
Σ To create a vector
Σ To modify the value of a given element
Σ To multiply by a scalar value
Σ To display the vector in the form
(10, 20, 30, . . . . . ..)
3. Add a function to the program of Exercise 9 that accepts two vectors as input parameters
and return the addition of two vectors.