Campbell Ritchie wrote:Nonononono! You now have two nested loops.
That is why you want multiple methods, so you have the fewest moving parts possible in each method.marc decareano wrote:. . . they are so many moving parts:
Sorry. No cigar. I think, sorry, that you are going to have to start again. Please read this link. Then tell us what your design is, and also what the format of the text file is.. . . to see if I have the right idea.
Campbell Ritchie wrote:
That is why you want multiple methods, so you have the fewest moving parts possible in each method.marc decareano wrote:. . . they are so many moving parts:
Sorry. No cigar. I think, sorry, that you are going to have to start again. Please read this link. Then tell us what your design is, and also what the format of the text file is.. . . to see if I have the right idea.
Do you mean, alternate people go into each team?Mark, Ashley, Dan and Susan will be purple team
I meant, what sort of information does it contain?what do you mean by "what the format of the text file is"
Campbell Ritchie wrote:
Mark, Ashley, Dan and Susan will be purple team
Do you mean, alternate people go into each team?I meant, what sort of information does it contain?
Yes
what do you mean by "what the format of the text file is"
Campbell Ritchie wrote:Thank you. That is a strange way to calculate increments modulo 2: you only need to increment the index by 1 and there is no need to halve anything. That also means, yes, the names alternate.
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |