Check this code for pausing program

Printable View