Question: Help Needed C++ Programming Project in Microsoft Visual Studio (Please do not use the header #include ) Thanks, I will upvote. Please make solution clear

Help Needed

C++ Programming Project in Microsoft Visual Studio (Please do not use the header #include)

Help Needed C++ Programming Project in Microsoft Visual Studio (Please do notuse the header #include) Thanks, I will upvote. Please make solution clear

Thanks,

I will upvote. Please make solution clear and provide sample output screen.

Project Two: Event Scoring You are working for a company that is responsible for determining the winner of a prestigious international event, Men's Synchronized Swimming, Scoring is done by nine (9) international judges. They each submit a score in the range from 0 to 100. The highest and lowest scores are not counted. The remaining seven (7) scores are averaged, and the median value is also determined. The participating team with the highest average score wins. In case of a tie, the highest median score, among the teams that are tied for first place, determines the winner. Scoring data is provided in the form of a text file. The scoring data for each team consists of two lines: the first line contains the team name; the second line contains the nine (9) scores. You will not know ahead of time how many teams will participant. Your program will: Prompt the user for the name and location of the scoring data file. Process the sets of records in the file. Read and store the team name in a string variable. o Read and store the scores in an array, - Display the team name followed by the complete set of scores in ascending order on the next line. Calculate and display to two decimal places the average of the seven qualifying scores, dropping the lowest and highest scores. Determine and display the median value among the seven qualifying scores. Display the count of the number of participating teams.| Display the winning team name and their average score. Indicate if they won by breaking a tie with a higher median score value. A sample data file has been provided to allow you to test your program before submitting your work. Records in the sample data file look like this: Sea Turtles 11 34 46 51 21.5 99 42 87 43 Tiger Sharks 83.5 55 10 99 35 5 65.5 75 26 The Angry Piranhas 47 9 80.5 39 78 51.5 58.5 53 23 The average score for the Sea Turtles was 45.36. The Angry Piranhas and the Tiger Sharks both had an average score of 50.0. The tiger sharks had a median value of 55.0, making them the winners of the competition. You will define and use at least one function in your solution. As a suggestion, you should consider calling a function that sorts the array of judge's score values into ascending order (lowest to highest). The advantage of doing this is that after being sorted, the lowest value is the first entry in your array and the highest value is the last entry in your array. The average or arithmetic mean is a measure of central tendency. It is a single value that is intended to represent the collection of values. For this problem, you will only use seven of the values to determine the average. You will not include the highest score and the lowest score. The median is another measure of central tendency. The median is often referred to as the middle value. In a set of values, half the values are less than the median and the other half are greater than the median. In a sorted array of five elements, the median is the third element. There are two values that are less then it and there are two values that are greater than it. In a sorted array of six values, the median is the simple average of the third and fourth values. In some cases, the median is a better representative value than the average. You are encouraged to read the article entitled "Mixing getline with cin". To receive full credit for this programming assignment, you must: Use the correct file name. Submit a program that executes correctly. Interact effectively with the user. Grading Guideline: Correctly name the file submitted. (5 points) Create a comment containing the student's full name. (5 points) Document the program with other meaningful comments. (5 points) Prompt the user for a file name and location. (10 points) Open, read, and process all the data in the input file. (15 points) Store the team scores in an array. (10 points) Correctly display the team name and all scores. (10 points) Calculate and display the average score correctly. (10 points) Calculate and display the median score correctly. (10 points) Correctly count and display the number of competing teams. (10 points) Correctly determine and display the winning team and score. (10 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!