O GoConqr está de visual novo! Conte para nós o que você achou.

Mapa mental

Dance Competition Program

Phie . Computing GCSE Inglês

Conteúdo do mapa

Dance Competition Program

  1. Define and assign variables

    • Runs main()
      • Asks user if they want to enter a score
        • Runs enterScores()
          • Asks user to enter round number, couple name, judge name and score for the couple from said judge
            • Runs whichJudge()
              • Runs whichTeam()
                • Adds the score to the appropriate place in tempScores
                  • Returns to main()
      • Asks user if they want to calculate scores
        • Runs calcScores()
          • Runs whichRound()
            • Moves to the right array for the high and low scores for a certain round
              • States the current number of competitors for that round -1 (so we can reference this later)
                • Loops for all 6 couples
                  • Define highScore, lowScore and totalScore to their base values (reset for each couple)
                    • Loops for all 5 judges
                      • Loops for all 5 judges
                        • Runs ScoreCalculator()
                          • Writes all scores to a text file - dividing it into scores we add together, high score, low score and total score.
                            • Save and closes text file
                          • Adds remaining scores together to create totalScore
                        • Removes highest and lowest score from tempScores so they aren't included in the calculation of the total score
                      • Finds which scores are the highest and lowest scores
                  • Asks user if they want to find the eliminated couples
                    • Returns to main()
                    • Runs detElim()
                      • Loops for each competitor
                        • Determines if there is a tie for who won the round
                          • Determines if they have won the round with no tie
                            • Determines if they have tied for the second lowest score
                              • Determines if they have one of the 2 lowest scores
                              • Runs tieBreakerLose()
                                • Takes highest and lowest scores of each couple in the tie
                                  • Adds the high and low scores of each couple together (team1 high and low then team 2 high and low scores)
                                    • Compares the total and whoever has the lower score of higher and lower is returned as the second lowest scorer and their score as the second lowest score
                          • Runs tieBreakerWin()
                            • Takes highest and lowest scores of each couple in the tie
                              • Adds the high and low scores of each couple together (team1 high and low then team 2 high and low scores)
                                • Compares the total and whoever has the higher score of higher and lower is returned as the winner and their score as the highest score
                        • Outputs winning and eliminated couples and their scores
                          • Writes the eliminated couples' total scores to a file along with their team name
                            • Returns to main()
      • Asks user if they want to continue
        • End program
        • Returns to main()

Informações

Descrição
GCSE Computing Mapa Mental sobre Dance Competition Program, criado por Phie . em 04-06-2021.
Criado por
Phie .
Visualizações
2
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?