Project 3
At a diving competition, the scores for one dive are determined by a panel of judges. The final score is calculated by:
* adding together all scores EXCEPT the highest and lowest scores
* that sum is then multiplied by 1.2
* that product is then multiplied by 0.6
You are to write a Python program which:
* allows the user to enter 6 scores provided by the judges
* the scores are to be placed in a list (you can create the list of scores, or append each score to an existing list)
*print out the scores you have stored in the list (make sure the [ ] is not printed)
* calculate the adjusted sum of the scores in the list (sum w/o max and min) print this sum. Hint: the list functions sum min and max will help here
* calculate the final score and print that score. Make sure that your final score is printed ONLY showing 3 decimal positions.
Be sure that your program is well-commented so that it is easily read. Also be sure that all user prompts are well-worded so that the user knows what is expected. Output values should be labeled so that it is clear what results are being printed.
thanks for the question, here is the fully implemented code in python with detailed comments. Let me know in case you have any questions or doubts
===========================================================================================
# create an empty list that will store the judges
score
judge_scores=[]
# within a for loop which executes 6 times we take in the score
for 6 judges
for i in range(1,7):
score = float(input('Enter judge{}
score: '.format(i)))
judge_scores.append(score)
# print the scores
print(', '.join([str(s) for s
in judge_scores]))
# first find out the max score and min score from the list
using max and min functions
max_score = max(judge_scores)
min_score = min(judge_scores)
# adjusted sum = total score - max score - min score
print('Adjusted Score:
{0:.3f}'.format(sum(judge_scores)-max_score-min_score))
## calculate final score
final_score = sum(judge_scores) - max_score - min_score
final_score *=1.2 # multiply the sum first with 1.2
final_score*=0.6 # multiply the product again with 0.6
## print the final score with 3 decimal point
print('Final Score:
{0:.3f}'.format(final_score))

Project 3 At a diving competition, the scores for one dive are determined by a panel...
Write a short C++ program that prompts the user for a series of ten scores in the range of 0-10 and adds them into a total. Check to make sure the numbers that are entered are actually in the proper 0-10 range. If a 10 is entered then add the ten to the total then double the total to that point. If a 5 is entered then add five to the total then divide the total by 2 (throwing away any remainders)...
Programming Lab 4 (Chapter 4) There is one checkpoint, make sure you call your professor to get checked. 4.1 Write a program that prompts the user for two integers and then prints The sum The difference The product The average The distance (absolute value of the difference) The maximum (the larger of the two) The minimum (the smaller of the two) Hint: The max, min, and absolute value methods are declared in the Math class. Lookup https://docs.oracle.com/javase/8/docs/api/java/lang/Math. html the API...
Machine Problem 7: Structures ---- TO BE COMPLETED IN C++ This assignment is to give you practice using one-dimensional arrays and sorting. In competitive diving, each diver makes dives of varying degrees of difficulty. Nine judges score each dive from 0 through 10 in steps of 0.5. The difficulty is a floating-point value between 1.0 and 3.0 that represents how complex the dive is to perform. The total score is obtained by discarding the lowest and highest of the judges’...
NOTE: USE PYTHON CS160 Computer Science Lab 14 Working with lists, functions, and files Objective: Work with lists Work with lists in functions Work with files Assignment: Part 1: Write a program to create a text file which contains a sequence of test scores. Ask for scores until the user enters an empty value. This will require you to have the scores until the user enters -1. After the scores have been entered, ask the user to enter a file...
Write a C++ program named, gradeProcessor.cpp, that will do the following tasks: -Print welcome message -Generate the number of test scores the user enters; have scores fall into a normal distribution for grades -Display all of the generated scores - no more than 10 per line -Calculate and display the average of all scores -Find and display the number of scores above the overall average (previous output) -Find and display the letter grade that corresponds to the average above (overall...
In this assignment you will direct users to input two pieces of information. First a number they would like a multiplication table for and then second how long of a table they would like. You will then do some sanity checking on the values (as we don’t want a negative length table), and afterwards pass them to a function to print the table. Once you have printed the table, go back and see if they want to exit or have...
IN C PROGRAMMING PLEASE Write a program to curve 10 scores so that the average is 75.0. Get and store 10 scores in an array. The score must be between 0 and 110 inclusive (use constants for the min and max scores, and use the constants in the validation condition and error message). Then total the scores, find the average of the scores, and calculate the curve amount, which is the difference between 75 and the average (75 should also...
java Part 1 Create a NetBeans project that asks for a file name. The file should contain an unknown quantity of double numeric values with each number on its own line. There should be no empty lines. Open the file and read the numbers. Print the sum, average, and the count of the numbers. Be sure to label the outputs very clearly. Read the file values as Strings and use Double.parseDouble() to convert them. Part 2 Create a NetBeans project...
Exercise 7: Program exercise for Basic List operations Write a complete Python program including minimal comments (ile name, your name, and problem description) that solves the following problem with the main function: Problem Specification: Write a program that reads a number of scores from the user and performs the following 1. Read scores from the user until the user enters nothing but Center > key 2. Store scores into a list for processing below 3. Find the average of the...
Piggy back on the programming project one you completed in module 3. You will use some of those concepts here again. We will be building this project inside out, start individual quiz and use a for loop to repeat it three times for three students. In this program you will be required to write a python program that generates math quizzes for students in second grade. Your program should do the following Ask the student for their name Provide 3...