Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

loop for finding largest average

flyaway3flyaway3 Posts: 15Member
Just wondering how you would create a loop that works out the averages from about 20 scores in a file and then outputs the largets one.
So far I have tried using a while loop with a continue statement but I cant get it to work.
Any ideas?
Thanks

Comments

  • tsagldtsagld Posts: 621Member
    : Just wondering how you would create a loop that works out the averages from about 20 scores in a file and then outputs the largets one.
    : So far I have tried using a while loop with a continue statement but I cant get it to work.
    : Any ideas?
    : Thanks
    :
    What exactly do you mean? For n numbers, there's only one average. What do you mean by the 'largest average'?
    Post your code so far and we'll try to help.

    Greets,
    Eric Goldstein
    http://www.gvh-maatwerk.nl


Sign In or Register to comment.