YesBenjamin Guitard-Maraj wrote:Did you see my post right before Liutauras post?
No, it showed an example of output. Imagine I am a history teacher, and know nothing about programming. Now explain what you are trying to do in the terms Liutauras used. No use of words like array, method, or similar. No examples of output. All words very small and simple . . .I believe it was what you were asking. . . .
Benjamin Guitard-Maraj wrote:I believe it was what you were asking. Let me know if it clarifies things and if you can help me with my issue
No, it means, “What do you want to achieve?” That is slightly different.Benjamin Guitard-Maraj wrote:By requirements do you mean "what do i have to do?" . . .
Yes, but how are you going to put that sort of thing into an array? An array has a predetermined size, which you cannot change. So, if student 999 has a different answer from everybody else, how are you going to convert your array to a 0‑length array? If student 999 gives a different answer from everybody else, what is their array going to look like? This makes me wonder whether arrays are a suitable tool for this sort of exercise.Student 0 has similar answers to student 2
Student 1 has similar answers to student 3
Student 2 has similar answers to student 0 and 3
Student 3 has similar answers to student 1 and 2 . . .
Campbell Ritchie wrote:how are you going to put that sort of thing into an array? An array has a predetermined size, which you cannot change. So, if student 999 has a different answer from everybody else, how are you going to convert your array to a 0‑length array? If student 999 gives a different answer from everybody else, what is their array going to look like? This makes me wonder whether arrays are a suitable tool for this sort of exercise.
Maybe this would be even betterA few minutes ago, I wrote:. . . if you really want to cause annoyance, try this sort of thing