SyntaxFix
Write A Post
Hire A Developer
Questions
Add a line getchar(); or system("pause"); before your return 0; in main function. It will work for you.
getchar();
system("pause");
return 0;