Skip to content

fikrcamp/js-challenge-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Javascript Fundementals Challenge Two (Part one)πŸ’ͺ🏾

There are two gymnastics teams. Reds and Blues. They compete agains each other 3 times. The winner with the highest average score wins the trophy

Your Task πŸ˜ƒ:
  1. Calculate the average score for each team, using the test data below

Data: Reds score 96, 108 and 89. Blues score 88, 91 and 110

  1. Compare the team's average scores to determine the winner of the competition, and print it to the console. Don't forget that there can be a draw, so test for that as well (draw means they have the same average score)

BONUS 1 πŸŽ‰: Include a requirement for a minimum score of 100. With this rule, a team only wins if it has a higher score than the other team, and the same time a score of at least 100 points.

Good Luck πŸ˜€

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors