posted 17 years ago
if i have to input 5 separate lines of code like:
Smith 27 83.7
Jones 21 28.35
Walker 96 182.4
Doe 60 150
Wood 100 400
how would i be able to put smith, 27, and 83.7 in separate variables?
here is my code so far...
there is more at the bottom but that is not important! I just need some guidance as to how to read a line of code from a file and then put the 3 different variables in their corresponding variables (im looking for help with the last comment in the snippet of code)