I'm writing a program for college and one part of it is to find the mean of a group of numbers that are inputted. The problem is that whenever I run the program the calculation always comes up with the same answer 2.39622e-43

I can't figure out why. Help please

[psychic debugging]
You're probably forgetting to initialize one of your variables to zero or something suitably reasonable.
[/psychic debugging]

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.