Question: #include using namespace std class Time { private: int hr; int min; int sec; public: int getHours() { return hr; } int getMinutes() { return
input ompilation failed due to following error(s). main.cpp: In constructor 'Time::Time(int, int, int)': main.cpp:22:2: error: 'hou' was not declared in this scope hou = h; Amen a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
