Define a structure data type called time_struct containing three members integer hour, integer minute and integer second. Develop a program that would assign values to the individual members and display the time in the following form: 16:40:51
Modify the above program such that a function is used to input values to the members and another function to display the time.
Modify the above program such that a function is used to input values to the members and another function to display the time.