This preview shows page 1. Sign up to view the full content.
Unformatted text preview: txtRead.Text = readFile.Readline Do While not at end of code For Counter 0 to 4 Read a Line Next Age = read a line dataholder = read a line If dataholder = M then Number of Mother =+ 1 Total Age of Mothers = Total Age of Mother + Age ElseIf dataholder = F then Number of fathers += 1 Total Age of Fathers = Total Age of Father + Age End if Next Loop...
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.
- Spring '07