Originally Posted by
spideyflygirl90
I'm creating a program that will read in a data file regarding vehicle registration per household, then calculates the registration tax for each vehicle, the household total and the overall total. Then writes the household totals into an external file as well as on the screen.
I think I've figured out how to read in data, write out the data and calculate the fees. But I don't know how to create the loop that will read a line, do the calculation and writing, store the information for screen display, then moves onto the next line.