when i put the end of file statement it keeps repeating the same input over and over as an infinite loop , why wont it read the rest of my data
data file :
879.46
C 400.00
D 100.00
F 525.00
C 450.00
D 500.00
D 1000.00
C 2000.00
D 3000.00
D 3500.00
C 5500.00
C 500.00
B 200.00
C -235.00
D 250.00
H -500.00
D 500.00
E