This simple C program implements a digital clock that allows users to set a starting time and then displays the current time in a continuous loop. The clock supports hours, minutes, and seconds, and it includes input validation to ensure a valid time format.
Features
~Set the initial time for the digital clock.
~Continuous display of the current time with a one-second interval.
~Input validation to ensure a valid time format (24-hour clock).
How to Use
1.Compile the program using a C compiler.
2.Run the compiled executable.
3.Set the initial time when prompted.
4.The digital clock will start displaying the current time and update every second.
Run the code in Replit : [https://replit.com/@SithumSuraweera/Digital-Clock]