Hello,
First time posting and I'm already asking something from you guys wow not a good first impression. My homework requires me to read in data and do something with the data simple enough. However the data is "not neat" weird so I'll be using a double for loop (or something you geniuses come up with hopefully more efficient creative new for me to learn w/e I'll do anything at this point *been banging my head against the wall for a couple of hours now*)
One of my theories is reading the data into an array and running the loops off of that but I don't know if that will work but yea. Anyways below this I'm going to post the assignment data I need to read.
// Thats the heading which is relevant || irrelevant w/e floats your bubble. What I really want is a way to read this set of data into my program.
Name of the caravan driver The number of donkeys in that caravan
Name of the donkey The number of boxes on that donkey The weight of each box
Here is your data: (copy & paste into your input file) (call your input files DONKEYS)