Not getting the result in terminal

sometime my code is not running and not showing the output in terminal.