|
-
Dec 20th, 2005, 11:34 AM
#1
Thread Starter
New Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|