{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

F2009HW4 - ECE264 Fall 2009 Homework 4 Due Fri:59pm This...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE264 Fall 2009 Homework 4 Due Fri, November 13, 11:59pm This homework corresponds to Outcome 1. Write a program that reads a list of names that appears in several files called "input_1", "input_2", .... The number of input files is unknown when the program is written. However, it is known that the files have consecutive numbers. Each line of a file "input_i" contains a last name, followed by a middle initial if the person has one, followed by a first name, and followed by a year of birth. The program should print all the names from the input files into a single file according to the following specifications. Do not store all the information from the input files in variables of the program. Store at most one line (last name, middle initial, first name and year of birth) at any given time. You may also store single variables such as the lowest and highest years of birth in the input files. However, you must not store arrays of names or arrays of years of birth. If necessary, read the input files multiple times.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}