Write a program in C++ to accept two time given in hours and minutes using a function input ( ) , then pass these values to a function called addtime( ) to calculate the sum of two times ( using returning structure form function )

Is this a request for help or a blatant attempt to have someone do the work for you? If it is the former you will need to show some initial effort before you get what you are after.

yes i am agree with you L7Sqr, stickyvirus <ctime>(time.h) header file contains many predifine time function it will help you try yourself and when you face any problem post the problem here...

Daniweb member rules state this: Do provide evidence of having done some work yourself if posting questions from school or work assignments.
I can't do anything to help you, since you haven't provided any code. We don't solve others homeworks/lab assignments. We can only help them solve specific problems related to some code that they'vd posted already.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.