ATM: Giving NZEC in Java...Help Needed !!

Problem Link: HS08TEST Problem - CodeChef

My Solution: CodeChef: Practical coding for everyone

The solution works on my laptop but shows NZEC when submitted on codechef…

Any help will be greatly appreciated…

Thanks & Regards,

Akash Nigam.

What if there is no '\n'?

1 Like

the user must press enter key after entering the value of y to get the output…This is what i thought. Without pressing enter key how will he complete his input??

Please explain…@ betlista

Regards.

thanks mate!! figured out what was wrong…:)))))))))))))))))))))))))))))))))

You have to use a try catch instead of Thrwoing an exception.

You have to use a try catch instead of Thrwoing an exception.

the “user” is a computer program that reads from file…