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
Re: Average Function
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.
|All times are GMT +5.5. The time now is 02:42.|