Average Function

TheDude23's Avatar, Join Date: Apr 2012
Newbie Member
I need some help working on a program. I am to pass 2-10 numbers which calculate an average. I don't have to pass all the numbers but have to pass at least 2. I can pass either all integers or all float values. Is anyone willing to help me in the right direction with this program? I AM NOT TRYING TO GET ANYONE TO DO MY HW NEED HELP GETTING IT GOING

xpi0t0s's Avatar, Join Date: Aug 2004
How far have you got and where are you stuck?
How do you plan to terminate the input loop? You could ask how many numbers are to be input, or you could read until a terminating value (zero for example) is input.