#include #include "timeclass.h" using namespace std; int main() { Time now{12,24, 66};//66 is wrong so it becomes 0. now.showTime12(); now.setHour(23); now.setMinute(14); now.setSecond(15); now.showTime12(); Time now2;//Uses default constructor - initializes all to 0 now2.showTime12(); }