Se il tuo compilatore supporta la getch includi

#include <conio.h>

e prima della scanf

while(!getch());