Update StockProgramExam1.cpp

Added system pause