Your code does not "compile grand". You need to crank up the warning settings to the maximum on your compiler, and resolve the issues. Here's what my compiler reported:


$ gcc -Wall bank.c...