SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 304 Weeks Ago, 6 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 25 Dec 2017 My Price 10.00

determine the winner of the “Sinclair’s Got Talent”

Hello all, need some help with this assignment, thanks!

CIS 1111 Programming Topic 11 – Sinclair’s Got Talent

(20 points)

 

Description:

Write a C++ program to determine the winner of the “Sinclair’s Got Talent” contest. The contest has five judges, each of whom awards a score between 1 and 10 for each of the performers. Fractional scores are not allowed. A contestant’s final score is determined by dropping the highest and lowest scores received, then averaging the three remaining scores (the average should be rounded to two decimal places). The winner is the contestant with the highest average score. If there is a tie, the winner will be the first contestant judged.

Requirements:

1.       Input the contestant’s first name followed by the 5 judges’ scores. You do not know how many contestants there are. Design the loop so the loop terminates when you are finished entering contestants.

2.       Input validation:  Do not accept a judge’s score that is less than 1 or greater than 10.  As each score is entered send the score to a function to test the score’s validity.

3.       Use function calcAvgScore that has the contestant’s 5 scores as input parameters

a.       returns the average score for that contestant.

b.      Calls two functions,  findLowest and findHighest which both accept the 5 scores as input parameters and return the lowest and highest scores, respectively.

4.       Do not use global variables. All variables used in the functions must be passed as parameters or declared locally.

5.       At the end of the program, display the winner and winning score (rounded to 2 decimal places).

Sample Output:

 

 

Submit:

Zipped folder named LastNameFirstNameCIS1111NameOfAssignment which contains:

1.       Your .cpp file

2.       Screen shots of your code and output

 

 

Grading Guidelines for This Assignment

 

Range – Low End

(Did not do or did very little effort)

Range – High End

(Used correctly and spent time/effort on programming)

Names of variables are meaningful and the program comments self-document the program

0

2

Met all stated requirements

0

10

Output is correct given the input, and the output is correctly formatted

0

4

Program compiles and executes without any runtime, syntax, or logic errors

0

3

The zipped project folder that includes the C++ .cpp source files and screens shots of the code and console is uploaded to drop box.

0

1

Total Points Possible

0

20

 

 

Attachments:

Answers

(5)
Status NEW Posted 25 Dec 2017 02:12 PM My Price 10.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)