Computer Science A - 10/12/99 int LengthOfSeq(Seqtype S) { int counter = 0; SetToFirst(S); while(!EndOfSeq)) { counter++; Advance(S); } return(counter); }