![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 07.08.2019 05:10, alainacorkell6472
Score the raceintroductionsome number of teams are participating in a race. you are not told how many teams are participating but you do know that: each team has a name, which is one of the uppercase letters a-z. no two teams have the same name, so there are a maximum number of 26 teams. each team has the same number of members. no two runners cross the finish line at the same time – i. e. there are no ties. at the end of the race we can write the results as a string of characters indicating the order in which runners crossed the finish line. for example: zzazaawe can see there were two teams: a and z. team a’s runners finished in 3rd, 5th and 6th place. team z’s runners finished in 1st, 2nd and 4th place. scoring the raceeach runner is assigned a score equal to their finishing place. in the example above team z’s runners achieved scores of 1, 2 and 4. team a’s runners scores were 3, 5, and 6 respectively. the team’s score is the sum of the members score divided by the number of people on the team. so team a’s score is (3+5+6)/3 = 14/3=4.66 and team z’s score is (1+2+4)/3=7/3=2.33the problemwrite a program to score races as described above. inputyour program will ask the user to input a string of uppercase characters indicating the outcome of a race. outputyour program will output: the number of teams. the number of runners on a team. the names of the teams – in alphabetical order - together with the team score. the name and score of the winning team. so for the example above the program will print: there are 2 teams. each team has 3 runners. team scorea 4.66z 2.33the winning team is team z with a score of 2.33.
![answer](/tpl/images/cats/otvet.png)
Answers: 1
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 21.06.2019 19:40, queenskyyt
Write the quartstogallons java class that declares a named constant to hold the number of quarts in a gallon (4). also declare a variable to represent the number of quarts needed for a painting job, and assign an appropriate value—for example, 18. compute and display the number of gallons and quarts needed for the job. display explanatory text with the values, for example:
Answers: 2
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 20:00, manyah6189
Amanda needs to create an informative print brochure for her local library’s fundraiser dinner. what critical detail must she have before she starts designing the brochure?
Answers: 1
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 12:40, melaniem50
Curriculum exam to process a resident's payment, you must click on onesite payments home page. from the a. reports b. my settings o c. transactions o d. rent tab
Answers: 1
Do you know the correct answer?
Score the raceintroductionsome number of teams are participating in a race. you are not told how man...
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
Mathematics, 28.01.2021 03:20
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 28.01.2021 03:20
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 28.01.2021 03:20
![Konu](/tpl/images/cats/mat.png)
Mathematics, 28.01.2021 03:20
![Konu](/tpl/images/cats/mat.png)
Mathematics, 28.01.2021 03:20
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 28.01.2021 03:20
![Konu](/tpl/images/cats/mat.png)
Mathematics, 28.01.2021 03:20