|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Help with Sequential Access Files
Create an application that read a series of numbers from a sequential access file. Each series is separated by a 0. The program should then calculate the average of each series of numbers and an average of all averages. Display your answers in a label on the form.
Test your program thoroughly! Data File: 10 15 20 20 0 1 2 3 4 5 6 7 8 0 10 20 30 40 50 60 09 9 9 9 99 9 9 9 0 5 8 9 5 3 80 2 23 65 0 Will someone please help me with this assignment I am literally stuck, it is already late, and I don't understand it. Would someone please just walk me through it at least, or get me going on it? I appreciate any help you can give me, thank you so much. |
|
#2
|
|||
|
|||
|
Is there some particular chunk of code that's giving you a problem, or do you just want someone else to do your homework for you?
In general, in VBS, you'd parse the string pieces by finding all the 0, then split each piece to extract the individual numbers, then do the math and write out the results.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Help with Sequential Access Files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|