Sublime text not taking input in cpp

Guys, I have been using sublime for 6 months now, but today out of nowhere this issue is coming and I’m unable to take any input after building the program.
I tried changing the build system to C++ single file, but it is also not working.
Please help if anybody has faced the same issue.
P.S: I checked the path environment and they are added correctly according to my MinGW folder.