Define a structure Time having integer data members hour, minute, second.

c) Define a structure Time having integer data members hour, minute, second. Write a
program to enter two variables of the type Time and then add these two variables and store
the result into third variable. Also validate the second and minute of the result and print it.


Leave a Reply