hold the screen after execution

uses getch function of cin