You have nearly got the jist of what am need to do!
Let’s start from the top. I have been asked to make a program, to be used on a school games day. The program will be coded, to read the students name, house & class out of a file.
The student’s names have been supplied to me within their appropriate house and class.
An algorithm needs to be made, to organise the students so that they play each of the 4 available games. Whilst ensuring, that no one plays against anybody more than once on each of the games and that no body plays another student in the same class. (This has been done and has been explained below.)
ALGORYTHM
Students are organised into house colours, whilst keeping them in alphabetical order.
The yellow house was moved down three names, whilst repositioning three bottom names at the top of the list!
THE GAMES THAT ARE PLAYED DURING THE DAY ARE:- Snap
- Cribbage
- Spilinkins
- Junior Scrabble
An option should be available to enter the scores for each student, to finally reveal the winner of the competition. (Name, house & class)
How would this be coded using arrays?
What would the coding look like?
I think I have covered everything, ill let you know If I haven’t.
Many Thanks