C++ program to create digital watch

Program:

Output:

Read