Lab 6 Team 7 Algorithm part 2

Lab 6 Team 7 Algorithm part 2 - For loopcounter = 1 To 2...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Variables Average # of Children In Household (dec) Average Family Income (dec) Average Age of Mother(dec) Average Age of Father(dec) Number of Households (dec) Number of Mothers(dec) Number of Fathers (dec) str.MyFile (str) Calculation readFile = New System.IO.StreamReader(Parent Data) Do While readFile.Peek > -1 intCounter = intCounter + 1
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: For loopcounter = 1 To 2 readFile.ReadLine() Loop readFile.Close() Average Children in House Hold = Total Children / # Households Average Income = Total Income / # Households Average Age of Mother = Total Age of Mother / # Mothers Average Age of Father = Total Age of Mother / # Father...
View Full Document

This homework help was uploaded on 04/11/2008 for the course CS 105 taught by Professor Dianaspringer-lund during the Spring '07 term at Central Washington University.

Ask a homework question - tutors are online