Ok ... allora metti il

system("PAUSE");

solamente prima della riga

return 0;

Ricompila ed esegui.