dimanche 26 septembre 2021

There is a hockey tournament involving 6 teams. Write a short program that will display all the games. The format should be "Team 1 plays Team 2" [closed]

NOTES: a. You must use “for” loops and if statements in your solution, simple list of print statements is not appropriate. b. Use the “continue” instruction to avoid saying “Team 3 plays Team 3”. c. If each team plays the other twice you must say both ""Team 1 plays Team 2” and "Team 2 plays Team 1".

Could yall help me out im not able to figure out how to do this question. Would really appreciate it.

Aucun commentaire:

Enregistrer un commentaire