Which line of your code reads the 19?
What do you do with that 19 after it has been read?
What will your code do if your professor decides to test it on a file containing 20 values?
Banfa 597 Posting Pro Featured Poster
Banfa 597 Posting Pro Featured Poster
FlynnLags commented: Helpful and solved my issue +0
Banfa 597 Posting Pro Featured Poster
dualdigger commented: really helpful suggestions +1
Banfa 597 Posting Pro Featured Poster
Ancient Dragon commented: Yes, your right. +28
Banfa 597 Posting Pro Featured Poster
metdos commented: Nice, Clean , Informative answer +1
Banfa 597 Posting Pro Featured Poster
mitrmkar commented: Yes, a good catch +5
vmanes commented: Very interesting observation. +5
PDB1982 commented: Excellent explanation - Thank you! +1
Banfa 597 Posting Pro Featured Poster