Hi people, I was wondering if anyone can kindly advise me on how to go about approaching the following problem : http://www.comp.nus.edu.sg/~cs1101cl/lab4/oddweek/ .
A few tips to help me get started would be nice :
-How do I read in values from an external data file such that I terminate when I first come across a '6'? The problem arises as I cannot blindly read in values without giving due consideration to the number of values in a given line(which is not consistent to begin with) until I come across the first '6'.