loop wont work , college algebra help ASAP

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


what im out putting with the end of file loop:

Your beginning balance is $879.46

C
400
Your beginning balance is $879.46

C
400
Your beginning balance is $879.46

C
400


that keeps repeating
you have an error. Tell more about problem
Last edited on
Topic archived. No new replies allowed.