Step 6 of 9
Challenge: a Clock class
Your turn: write a class Clock representing a round timer in seconds:
Clock(int seconds)creates itvoid tick(int s = 1)subtracts seconds but never goes below 0bool expired() constis true at 0std::string display() constreturnsM:SS, like1:55or0:07