Alpha Geek

(8)

$10/per page/Negotiable

About Alpha Geek

Levels Tought:
University

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Environmental science,Essay writing,Programming,Social Science,Statistics Hide all
Teaching Since: Apr 2017
Last Sign in: 343 Weeks Ago, 3 Days Ago
Questions Answered: 9562
Tutorials Posted: 9559

Education

  • bachelor in business administration
    Polytechnic State University Sanluis
    Jan-2006 - Nov-2010

  • CPA
    Polytechnic State University
    Jan-2012 - Nov-2016

Experience

  • Professor
    Harvard Square Academy (HS2)
    Mar-2012 - Present

Category > Computer Science Posted 25 Apr 2017 My Price 5.00

Star Search

Star Search

A particular talent competition has five judges, each of whom awards a score between 0 and 10 to each performer. Fractional scores, such as 8.3, are allowed. A performer’s final score is determined by dropping the highest and lowest score received, then averaging the three remaining scores. Write a program that uses this method to calculate a contestant’s score. It should include the following functions:

• void getJudgeData() should ask the user for a judge’s score, store it in a reference parameter variable, and validate it. This function should be called by main once for each of the five judges.

• void calcScore() should calculate and display the average of the three scores that remain after dropping the highest and lowest scores the performer received. This function should be called just once by main, and should be passed the five scores.

The last two functions, described below, should be called by calcScore, which uses the returned information to determine which of the scores to drop.

• int findLowest() should find and return the lowest of the five scores passed to it.

• int findHighest() should find and return the highest of the five scores passed to it.

 

 



Answers

(8)
Status NEW Posted 25 Apr 2017 04:04 PM My Price 5.00

-----------

Attachments

file 1493137826-Answer.docx preview (402 words )
S-----------tar----------- Se-----------arc-----------h -----------A p-----------art-----------icu-----------lar----------- ta-----------len-----------t c-----------omp-----------eti-----------tio-----------n h-----------as -----------fiv-----------e j-----------udg-----------es,----------- ea-----------ch -----------of -----------who-----------m a-----------war-----------ds -----------a s-----------cor-----------e b-----------etw-----------een----------- 0 -----------and----------- 10----------- to----------- ea-----------ch -----------per-----------for-----------mer-----------. F-----------rac-----------tio-----------nal----------- sc-----------ore-----------s, -----------suc-----------h a-----------s 8-----------.3,----------- ar-----------e a-----------llo-----------wed-----------. A----------- pe-----------rfo-----------rme-----------râ€-----------™s -----------fin-----------al -----------sco-----------re -----------is -----------det-----------erm-----------ine-----------d b-----------y d-----------rop-----------pin-----------g t-----------he -----------hig-----------hes-----------t a-----------nd -----------low-----------est----------- sc-----------ore----------- re-----------cei-----------ved-----------, t-----------hen----------- av-----------era-----------gin-----------g t-----------he -----------thr-----------ee -----------rem-----------ain-----------ing----------- sc-----------ore-----------s. -----------Wri-----------te -----------a p-----------rog-----------ram----------- th-----------at -----------use-----------s t-----------his----------- me-----------tho-----------d t-----------o c-----------alc-----------ula-----------te -----------a c-----------ont-----------est-----------ant-----------’-----------s s-----------cor-----------e. -----------It -----------sho-----------uld----------- in-----------clu-----------de -----------the----------- fo-----------llo-----------win-----------g f-----------unc-----------tio-----------ns:----------- â-----------€¢
Not Rated(0)