#include "conio.h"

 void Pause()
{
       printf("\nPress enter to continue...");
       while(!kbhit());
       if(getch()==NULL)
       getch();
}