I have a program that I have for homework and I tried to figure it out, but I have spent a lot of time on it. Please help me. The problem i'm having is that it is including the 0 in the sum, product and count. I'm not sure what to do. Anyway here is the code...
By the way, thanks. (I tried to add comments to help you understand what I have some things there for)