Not getting output

when i am giving input to the given code i am not getting output and the window is just