#include class Time{ private: int h; int m; int s; public: void setTime(); void setTime(int,int,int);//Yperfortwsi Sunanartisewn int getHours(); int getminute(); int getSecons(); void printTime(); }; void main(){ Time ClkA,ClkB; ClkA.setTime(); ClkB.setTime(7,5,10); } void Time::setTime(){ cout<<"Dwse times gia to h,m,s\n"; cin>>h>>m>>s; } void Time::setTime(int a,int b,int c){ h=a; m=b; s=c; } int Time::getHours(){ return h; } int Time::getminute(){ return m; } int Time::getSecons(){ return s; }