loop for finding largest average - Programmers Heaven

Howdy, Stranger!

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

Categories

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.