Visual Studio C++ **NEED HELP**

Discussion in 'School Work Help' started by aznlitomik3, Sep 28, 2010.

  1. aznlitomik3

    aznlitomik3 Active Member

    30
    234
    0
    Write a program that allows a user to input a stream of positive numbers and computes the average of those numbers. The user can enter as many numbers as they want, signaling the end of the stream by entering a negative number. Use main() to instruct the user, present the answer and inquire if the user would like to do it again. Use a function to take in the user inputs, keep a running total and a count, compute the average, and return the average.

    I need some help on this problem, maybe give me some hints/example on it please

    Thank You!!
     
    #1 aznlitomik3, Sep 28, 2010
    Last edited: Sep 29, 2010