Results 1 to 3 of 3

Thread: calculating max, min, and average values

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2005
    Posts
    2

    calculating max, min, and average values

    Hi everyone.

    I am new to this forum and hopefully some of you cool (intelligent!) people can help my request.

    Firstly, I am using VB6.

    I need to design a program to read in data from a text file (which can be downloaded by clicking http://www.geocities.com/vbenod/data.txt). The two first figures (5 and 5) represent the number of rows and columns in the data, respectively.

    I want to design a program that can read all the data (below the two 5's) into an array and display all this data in a text box. I then want to create buttons that will calculate the maximum, minimum, and average value from the data stored in this array so that it will be displayed to the user.

    Also, the text file will vary and could for example have more data values so the system needs to be dynamic and not only be able to read just the above data file.

    If anyone could design this and post any code it would GREATLY be appreciated. my email is [email protected] if anyone needs to get in touch or I shall check this forum.

    Cheers

    Tom
    Last edited by enod; Dec 20th, 2005 at 12:36 PM.

  2. #2
    Fanatic Member
    Join Date
    Jun 2003
    Location
    Worcester, MA
    Posts
    782

    Re: calculating max, min, and average values

    Page requested not found.
    C#.net, VB, C++, Java, VS 2005/2008
    Dont' forget to rate posts that are helpful to you.

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2005
    Posts
    2

    Re: calculating max, min, and average values

    Apologies, I have updated the link and should now work.


    Quote Originally Posted by Steve_F
    Page requested not found.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width