MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / DisplayTime

Method DisplayTime

Lab_13/main1.cpp:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 }
37
38 void DisplayTime()
39 {
40 cout << "HH: " << hour << endl
41 << "MM: " << minute << endl
42 << "SS: " << second << endl;
43 }
44 int asSeconds() const
45 {
46 return (3600 * hour + 60 * minute + second);

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected