program shows a runtime error(nzec).

the program runs well on dev c++.here it shows a runtime error.
got the same for the atm problem too.

Atleast show your code, run time error may be due to many reasons.