Can someone help me find the error in this code? It creates the proper output but then exits unsuccessfully, and I can’t figure out why. The code and output can be seen here: http://codepad.org/ZJzaSFAy