// 22.5HV2 Software Engineering II // Unit 4 Exercise 4 #include #include "alarm_clock2.h" void Alarm_clock2::set_alarm(int ah, int am) { a_hour = ah; a_minute = am; } void Alarm_clock2::tick() { Clock::tick(); if (hour==a_hour && minute==a_minute && second<10) cout << "WAKE UP!!!" << endl; }