Lab 6 Team 5 Algorithm part 2

Lab 6 Team 5 Algorithm part 2 - Calculations: Do while not...

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

View Full Document Right Arrow Icon
Variables: -Gender Holder(char) -Counter -Age Holder(int) -Average Number of Children in Household -Average Family Income -Average Age of Mothers -Average Age of Fathers Read file -Total Children -Total Household -Household family income -Total Number of Parents
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Calculations: Do while not at end of file For counter = 1 to 5 Read a line Next Age Holder = read a line Gender holder = read a line If Gender holder = f then Average Age of mothers = Age holder +...
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