Firstly, thanks for your interest in my query.I am a student and my query concerns a test I have to do. They ask me to write the code for a function increment() that adds one minute to the time each time it is called.<br>To be more specific the following class definition is provided for a class Time representing a time in hours and minutes:<br><br>class Time<br> {<br> private:<br> int h;<br> int m;<br> public:<br> Time();<br> Time( int H, int M);<br> void setTime( int H, int M);<br> void getTime( int&H, int&M);<br> void showTime();<br> void increment();<br> };<br><br>I have to write the code for a function increment() that adds one minute to the time each time it is called, eg.<br> for(i=0;i<90;i++)<br> t1.increment();<br> will step the time on by 1 hour and 30 minutes.<br><br>That is exactly the question in the test.I hope now you have understood what I am looking for. I wiil be gratefull if you could help me as it is the first time I use the