So this is my code and apparently somethings going on at around the if statement. It makes my calculations show up as 0. I know it's some bizarre coding, but Im sure you guys get what's going on. Please let me know of what I can do for the mistake and also what I can do to improve or clean up my code. Thanks.

Jeremy