Write a program with following requirements:
- Define the structure type time with fields: hours, minutes, and seconds.
- Write a function that takes an integer as parameter and converts that integer (as seconds) to hours, minutes, and seconds. These values should be stored into the fields of a structure of type time, and the function should return that structure.
- Write a program that reads an integer, calls the function, and displays the fields of the returned structure.