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 the lowest score received, then
averaging the three remaining scores. Write a program that uses these rules to calculate and
display a contestant’s score. It should include the following functions:
• getJudgeData() should ask the user for a judge’s score, validate it, and then return it. This
function should be called by main once for each of the five judges.
• calcScore() should drop the highest and lowest score and then calculate and print the
average of the three scores that remain. This function should be called at least once by
main and should be passed the five scores. These averages should be rounded to the
tenths decimal place. Make sure you are rounding after your calculation (3.57 = 3.6 and
3.54 = 3.5)
Two additional functions, described below, should be called by calcScore, which uses the
returned information to determine which scores to drop.
• findLowest() should find the lowest of the five scores passed to it.
• findHighest() should find and return the highest of the five scores passed to it.
In JAVA programing

Answers

Answer 1

Using the C++ code we can say that it will be possible to calculate the points as follows:

Writing this code we will have:

#include <iostream>

using namespace std;

void getJudgeData(double *);

void calcScore(double[], int);

double findLowest(double[], int);

double findHighest(double[], int);

int main()

{

double scores[5];

int i;

int s=5;

double avgScore;

cout << "\n Enter each Judge's score.\n\n\n";

for(i=0;i<5;i++)

{

cout << "\n Enter Judge #"<< i+1 <<" score: ";

getJudgeData(&scores[i]);

}

See more about C code at brainly.com/question/17544466

#SPJ1

A Particular Talent Competition Has Five Judges, Each Of Whom Awards A Score Between 0 And 10 To Each
A Particular Talent Competition Has Five Judges, Each Of Whom Awards A Score Between 0 And 10 To Each

Related Questions

A leading pharmaceutical company is launching a major transformation of its entire Cloud operations in order to more quickly and efficiently perform research and conduct clinical trials.

How can a Cloud-first strategy help this client?


by providing a data and analytics platform that keeps the client's legacy systems intact


by providing a data-centric approach that offers more speed, agility, and security


by transforming and upskilling the client's workforce to build their own Cloud solution


by automating the entire scope of the client's business

Answers

A cloud-first strategy helps this client by providing a data-centric approach that offers more speed, agility, and security. Thus, the correct option is B.

What is a Cloud-first strategy?

A cloud-first strategy may be defined as an operational strategy that allows the users to reposition all or most of their infrastructure to cloud-computing platforms.

A cloud-first strategy helps this client in numerous ways. It provides a data-centric approach that offers more speed, agility, and security to its customers or clients in a facilitated manner.

Therefore, the correct option for this question is B.

To learn more about the Cloud-first strategy, refer to the link:

https://brainly.com/question/24719487

#SPJ1

Explain why you would use the soft the soft on/off jumper when working on the ATX system

Answers

Soft power is one that hinders a user from turning off a system when the operating system has not yet been shut down.

What is the system about?

The BIOS or operating system is known to be a kind of system that handles the work of turning the PC on or off. This is known to be soft power.

Note that the use of soft power instead of a physical switch has a lot of benefits such as it prevents a user from turning off a system when the operating system is not yet shut down.

Learn more about system from

https://brainly.com/question/25594630

#SPJ1

Regarding k-NN algorithm which of the following statements is true?

Select the best answer

Select one:

A.
KNN could be used for both classification and regression problems


B.
All answers are correct


C.
It makes sense to use KNN, in cases where the data changes frequently and the prediction time is not important


D.
It does not make sense to use very high values of K (number of neighbors)

Answers

Answer:

A

Explanation:

KNN could be used for both classification and regression problems

You work at a computer store and a client approaches you, asking you to recommend a computer that she can buy for her son who wants to use the computer for gaming.

Answers

Answer:

just search a gaming pc and write the components then the specs of the pc

Explanation:

now gimme answer for question 4.2 please

a) In order to execute a program, instructions must be transferred from memory along a bus to the CPU. If the bus has 8 data lines, at most one 8 bit byte can be transferred at a time. How many memory accesses would be needed in this case to transfer a 32 bit instruction from memory to the CPU? ​

Answers

Answer: 4 memory accesses

.........We should now focus on the 8 bit byte and how many can it transfer at a time. Notice how I bolded that word so we no know that we should fivide the 32 bit instruction divided by the 8 bit byte which would be 4 memory acesses

Which of the following is classified as a workgroup information system?

Answers

The Monterey Bay Aquarium's tool that helps staff communicate, organize, plan, schedule, and track jobs is classified as a workgroup information system.

What is a workgroup information system?

A workgroup information system (WIS) can be defined as a system that is designed and developed to provide support for team members during a group decision-making process.

The main purpose of a workgroup information system (WIS) is to enhance and promote the free flow of information among the members of a team.

Read more on workgroup information system here: https://brainly.com/question/25226643

#SPJ1

Question 6 of 10
In which part of the Scratch interface does a programmer combine code
blocks to build the program?
OA. Block palette
OB. Scripts area
OC. Sprite info pane
Stans

Answers

The part of the Scratch interface does a programmer combine code that blocks to build the program is Block palette.

What is block programming in Scratch?

Scratch is known to be a kind of "block-based" programming language. that uses "blocks" in programming.

Note that The block palette is where a lot of script blocks are found and as such, The part of the Scratch interface does a programmer combine code that blocks to build the program is Block palette.

Learn more about programmer from

https://brainly.com/question/23275071

#SPJ1

An example of people working for a social cause is when a:
A.family complains to a restaurant manager that the food and service were poor
B.group stands on the corner with signs urging people to spray or neuter their pets
C.government decides that a certain newspaper company must be shut down.
D.student writes in his journal about how much he enjoyed visiting a national park

Answers

Answer:

B. Group stands on the corner with signs urging people to spray or neuter their pets.

Explanation:

It is B because they are fighting for people to neuter their pets to probably to avoid having so many strays

What type of scripts can tap in to your mobile device’s GPS location, which can then be used in a game?
geo-location scripts
geo-level scripts
heightmap scripts
evasion vector scripts

Answers

Answer:

geo-location scripts

Explanation:

see above

Which data value is most likely an outlier in the dataset below?

89, 100, 95, 26, 79, 85, 98, 75

Answers

The answer is A, 26. Hope this helps!


To what extent do preexisting personal biases affect representation in new media

Answers

Answer:

Below

Explanation:

I believe that it's a bit of a case by case scenario. However, personal biases will inevitably show throughout any sort of writing or other presenting within media. That's why you should always be careful about what you read and believe is true

Why does the media play such an important role in our personal freedom? Select 3 options.

It holds government accountable.
It holds government accountable.

It promotes self-expression.
It promotes self-expression.

It spreads government’s views.
It spreads government’s views.

It keeps us informed.
It keeps us informed.

It keeps us entertained.
It keeps us entertained.

Answers

Answer:

It promotes self-expression

It holds the government accountable

It keeps us informed

Explanation:

I got them right Ed

The media play such an important role in our personal freedom because of the following:

A. It holds the government accountable.

B. It promotes self-expression.

D. It keeps us informed.

What is media?

The media is a center of communication or transfer of information throughout the world. Its main aim is to collect information from the world and provide it to the citizens.

Because it enables the public expression of one's personal opinion about a subject, the media is crucial to freedom.

Media plays an important role in freedom because it helps in expressing a personal view about something in front of people. It gives us information about the world, and what is happening in the government, and other current situations.

Thus, the correct options are:

A. It holds the government accountable.

B. It promotes self-expression.

D. It keeps us informed.

To learn more about media, refer to the link:

https://brainly.com/question/28100033

#SPJ5

On a leading-trailing system technician A says that both shoes do equal work when stopping while going in reverse. Technician B says that the shoe facing the rear does most of the work when stopping in reverse. Who is right?

Answers

Based on the scenario above about the leading-trailing system Both technician A and B are incorrect.

How many brake shoes function?

There are known to be two shoes function that are said to be working a way where both become either the trailing shoe or leading shoe based on whether the vehicle is moving forward or backward.

Therefore we can say that, Based on the scenario above about the leading-trailing system Both technician A and B are incorrect.

Learn more about trailing system from

https://brainly.com/question/14367881

#SPJ1

Karishma is setting up a wired network for a small office. Which hardware component on the computer will help in network connection, and which cables will she use for the most economical network connection?

A bridgenetwork interface cardrepeater connects a computer to a network.
Fiber-opticShielded twisted-pairUnshielded twisted-pair cables are the cheapest option for network connections.

Answers

A hardware component on the computer which will help in network connection is a network interface card.

What is a network interface card?

In Computer technology, a network interface card can be defined as a hardware component installed on a computer system which is used to connect to the Internet or create a network connection.

In this scenario, a hardware component on the computer which will help in network connection is a network interface card, and the cables she would use for the most economical network connection is an unshielded twisted pair cables because it is cheaper than the other types of cables.

Read more on cables here: https://brainly.com/question/25337328

#SPJ1

Answer:

network interface cardunshielded twisted-pair

How can you tell if a website is biased?

Answers

Answer:

the author has not considered other points of view.

What kind of AR target category makes sense for a playing card with a picture on it?
single image
cylinder
3D object
bitmap

Answers

Answer:

3D objects

Explanation:

Repeated patterns and 3D makes AR target category more sensible for playing card with picture in it. 3D usually stands for three dimensional imaging which helps in better visualisation techniques of object.

Option C

As the Data Analyst, you have been named in a lawsuit against the company. Other
emplovees of the company are upset over findings from a recent company network
traffic usage report. Which of the following best describes the reason for this situation?
Capturing video of employees working using a hidden camera
Failure to publish positive comments along with employee complaints.
Publishing an incomplete list of employee suggestions for network improvements.
Failure to keep personal information collected private.

Answers

Publishing an incomplete list of employee suggestions for network improvements.

What is Data Analyst?

A Data Analyst is a professional who gathers and analyzes data across the organization in order to make informed decisions or to assist other team members and leadership in making sound decisions.

You have been named in a lawsuit against the company as the Data Analyst. Other company employees are displeased with the findings of a recent network traffic usage report.

One possible explanation is that an incomplete list of employee suggestions for network improvements was published.

Thus, this can be the reason for the given scenario.

For more details regarding data analyst, visit:

https://brainly.com/question/28893491

#SPJ1

Dalton needs to prepare a close-out report for his project. Which part of the close-out report would describe how he would plan and manage projects in the future?

Answers

The part of the close-out report would describe how he would plan and manage projects in the future is summary of project management effectiveness.

What is summary?

A summary is known to be a short statement or the restatement of key fact , mostly in a form of  a conclusion to a work.

Note that in the above case, The part of the close-out report would describe how he would plan and manage projects in the future is summary of project management effectiveness.

See the options below

Select an answer:

project highlights

major changes and risks

summary of schedule and cost performance

summary of project management effectiveness

Learn more about report from

https://brainly.com/question/24256083

#SPJ1

Which of the following algorithms is deterministic, in the sense that for a given input, a constant output will necessarily be given?

Select the best answer



Select one:
A.
The K-Means algorithm with the Lloyd method

B.
The K-Means algorithm with the Forgy method

C.
The K-Means algorithm with the K-means++ method

D.
The K-NN algorithm with a weighted average

Answers

The following algorithms is deterministic, in the sense that for a given input, a constant output will necessarily be given are C.The K-Means algorithm with the K-means++ method.

What is the difference between What is the distinction among K method and K-method ++?

Both K-method and K-method++ are clustering strategies which comes beneath neath unsupervised learning. The fundamental distinction among the 2 algorithms lies in: the choice of the centroids round which the clustering takes place. okay methodthe ++ eliminates the disadvantage of K method that's it's miles depending on initialization of centroids.

This set of rules guarantees a wiser initialization of the centroids and improves the first rate of the clustering. Apart from initialization, the relaxation of the set of rules is similar to the same old K-method set of rules. That is K-method++ is the same old K-method set of rules coupled with a wiser initialization of the centroids.

Read more bout the  K-Means algorithm:

https://brainly.com/question/15016224

#SPJ1

Please select the word from the list that best fits the definition

Plagiarism

Answers

the practice of taking someone else's work or ideas and passing them off as one's own.

Answer:

You need to give context/examples/question answers.

Explanation:

Review this persuasive speech outline .
.This speech includes an effective introduction using humor,several transitions and an effective conclusion with a thought provoking ending

Answers

Saying that the speech includes an effective introduction using humor, several transitions and an effective conclusion with a thought provoking ending is false.

What is persuasive speech?

This is known to be a speech that is given so as to convince a person about a thing or topic.

Note that in the excerpt, the speech does not includes an effective introduction using humor, several transitions and an effective conclusion with a thought provoking ending and thus, it is a false statement.

Learn more about persuasive speech from

https://brainly.com/question/14047451

#SPJ1

CALCULATE THE MISSING VALUE:


1. P=?, I = 2A, E = 12V

2. P=200W, I = 2A, E = ?

3. P= 100W, I = ?, E = 120V

4. P = 1000W,I= 10A, E = ?

5. P=150W, I = ?, E = 120V

6. P=?,I= 3A, E = 15V

7. P=300W, I = ?, E = 100V

8. What unit is to measure power?

9. What unit is to measure voltage?

10. What unit is to measure amperage?.​

Answers

Answer:

See below ~

Explanation:

Relating Power (P), Amperage (I), and Voltage (V) :

Power (P) = Voltage (V) × Amperage (I)

===========================================================

Q1

⇒ P = 2A × 12V

⇒ P = 24W

============================================================

Q2

⇒ 200W = 2A × E

⇒ E = 100V

=============================================================

Q3

⇒ 100W = I × 120V

⇒ I = 5/6

⇒ I = 0.83A

=============================================================

Q4

⇒ 1000W = 10A × E

⇒ E = 100V

=============================================================

Q5

⇒ 150W = I × 120V

⇒ I = 5/4

⇒ I = 1.25A

=============================================================

Q6

⇒ P = 3A × 15V

⇒ P = 45W

===========================================================

Q7

⇒ 300W = I × 100v

⇒ I = 3A

============================================================

Q8

⇒ The unit to measure power is Watt (W)

===========================================================

Q9

⇒ The unit to measure voltage is volt (V)

============================================================

Q10

⇒ The unit to measure amperage is Ampere (A)

4.13 LAB: Playlist (output linked list)
Given main(), complete the SongNode class to include the printSongInfo() method. Then write the Playlist class' printPlaylist() method to print all songs in the playlist. DO NOT print the dummy head node.

Ex: If the input is:

Stomp!
380
The Brothers Johnson
The Dude
337
Quincy Jones
You Don't Own Me
151
Lesley Gore
-1
the output is:

LIST OF SONGS
-------------
Title: Stomp!
Length: 380
Artist: The Brothers Johnson

Title: The Dude
Length: 337
Artist: Quincy Jones

Title: You Don't Own Me
Length: 151
Artist: Lesley Gore

import java.util.Scanner;

public class Playlist {

// TODO: Write method to ouptut list of songs

public static void main (String[] args) {
Scanner scnr = new Scanner(System.in);

SongNode headNode;
SongNode currNode;
SongNode lastNode;

String songTitle;
int songLength;
String songArtist;

// Front of nodes list
headNode = new SongNode();
lastNode = headNode;

// Read user input until -1 entered
songTitle = scnr.nextLine();
while (!songTitle.equals("-1")) {
songLength = scnr.nextInt();
scnr.nextLine();
songArtist = scnr.nextLine();

currNode = new SongNode(songTitle, songLength, songArtist);
lastNode.insertAfter(currNode);
lastNode = currNode;

songTitle = scnr.nextLine();
}

// Print linked list
System.out.println("LIST OF SONGS");
System.out.println("-------------");
printPlaylist(headNode);
}
}

Answers

Using the knowledge in computational language in JAVA it is possible to write a code that will organize the songs of a playlist through the titles and singers.

Writing the code in JAVA we have:

import java.util.Scanner;

public class Playlist {

public static void printPlaylist(SongNode songs){

SongNode song = songs.getNext();

while (song!=null) {

song.printSongInfo();

System.out.println();

song = song.getNext();

}

}

public static void main (String[] args) {

Scanner scnr = new Scanner(System.in);

SongNode headNode;

SongNode currNode;

SongNode lastNode;

String songTitle;

int songLength;

String songArtist;

headNode = new SongNode();

lastNode = headNode;

songTitle = scnr.nextLine();

while (!songTitle.equals("-1")) {

songLength = scnr.nextInt();

scnr.nextLine();

songArtist = scnr.nextLine();

currNode = new SongNode(songTitle, songLength, songArtist);

lastNode.insertAfter(currNode);

lastNode = currNode;

songTitle = scnr.nextLine();

}

System.out.println("LIST OF SONGS");

System.out.println("-------------");

printPlaylist(headNode);

}

}

class SongNode {

private String songTitle;

private int songLength;

private String songArtist;

private SongNode nextNodeRef;

public SongNode() {

songTitle = "";

songLength = 0;

songArtist = "";

nextNodeRef = null;

}

public SongNode(String songTitleInit, int songLengthInit, String songArtistInit) {

this.songTitle = songTitleInit;

this.songLength = songLengthInit;

this.songArtist = songArtistInit;

this.nextNodeRef = null;

}

public SongNode(String songTitleInit, int songLengthInit, String songArtistInit, SongNode nextLoc) {

this.songTitle = songTitleInit;

this.songLength = songLengthInit;

this.songArtist = songArtistInit;

this.nextNodeRef = nextLoc;

}

public void insertAfter(SongNode nodeLoc) {

SongNode tmpNext;

tmpNext = this.nextNodeRef;

this.nextNodeRef = nodeLoc;

nodeLoc.nextNodeRef = tmpNext;

}

public SongNode getNext() {

return this.nextNodeRef;

}

public void printSongInfo(){

System.out.println("Title: "+this.songTitle);

System.out.println("Length: "+this.songLength);

System.out.println("Artist: "+this.songArtist);

}

}

See more about JAVA at brainly.com/question/12975450

#SPJ1

Word frequencies (lists)

Answers

A list in programming is list of values for a given parameter enclosed in a square bracket and separated by commas.

Worde frequences ( lists )

A list can contain a mixture of string, integer and float values while a list can also be mutable when required to add or delete value(s) from the list.

The debugged lines of code ( file ) which can be run with zyBooks Lab 7.8 is attached below

Learn more about lists in programming : https://brainly.com/question/26352522

#SPJ1

what is the broad overview of a class scheduling software​

Answers

Answer: basically you run the time management of a company

Explanation:

You can perform the collaborative scheduling

You can minimize the scheduling conflicts

Easy to track management insight

Increase efficiency

Keep your staff updated

Track of time and attendance

PLEASE HELP!!
Read the following characteristic:
Programmers will write code and have objects interact and perform actions.
How would you classify it?

A disadvantage of object-oriented programming
A purpose of object-oriented programming
A result of procedural programming
An aspect of procedural programming

Answers

Based on the above, I will classify it as purpose of object-oriented programming.

What is this programming about?

The  object-oriented programming (OOP) is known to be where the programmer thinks in regards to the objects instead of the functions.

Note that Objects are said to be defined here via the use of a class and are known to be parts of the program that can does certain actions and interact with one another.

Therefore, Based on the above, I will classify it as purpose of object-oriented programming.

Learn more about Programmers from

https://brainly.com/question/23275071

#SPJ1

fast i need now ill give anything
Why is compressed air energy storage considered to be very useful?
A. because it allows people to use the resource at the exact time they need it
B. because it uses outside electricity to change the speed of the flywheel
C. because it stores electricity as rotational energy
D. because the vacuum chamber reduces friction and minimizes energy loss

Answers

Answer:A

Explanation:

Because compressed air energy storage (CAES) is known to have strong potential to deliver high performance energy storage at large scales for relatively low costs compared with any other solution.

Answer: A. because it allows people to use the resource at the exact time they need it

Explanation:

A collection of modules and packages that can be imported into a program is called

Answers

Answer:

library

Explanation:

class - used to create objects

documentation - provides information on the program's workings

function - this is part of a module

write a pseducode that will ask the user to enter the amount of a purchase. The program should then compute that state and provisional sales tax

Answers

The pseudocode of the program is simply a prototype of the actual program

How to write the pseudocode?

The pseudocode that does the requirements in the question is as follows:

StartGet Input for amount of purchaseCompute the state tax: sales tax = sales tax percentage * amountCompute the provisional sales tax: provisional sales tax = provisional sales tax percentage * amountPrint the taxes

Read more about pseudocode at:

https://brainly.com/question/24735155

#SPJ1

which set of possible outputs can result from a Boolean function
A. Movement or sound
B. If or then
C. True or false
D. High or low

Answers

The set of possible outputs that can result from a Boolean function is known to be True or false.

What is the output of Boolean?

In Boolean Algebra terms, that which is known to be the output will only come out as TRUE only if all of its inputs are TRUE and false if it is not.

Therefore, The set of possible outputs that can result from a Boolean function is known to be True or false.

Learn more about Boolean function from

https://brainly.com/question/13265286

#SPJ1

Other Questions
Nadia has a handful of coins all of which are either dimes or quarters she has a total of 23 coins in her hand and a total of $3.65 worth of coins let D equal the number of dimes Nadia has and like Q represent the number of quarters she has. Must model the solution and show work. What part of the agricultural adjustment administration was considered controversial? a) the fact that farmers refused to sell to cities b) the fact that farmers were receiving help c) the fact that conversation was stressed d) the fact that farmers were paid for destroying crops Place a checkmark next to each piece of information about that story that the reader had to infer from the text (sleepy hollow) A student looked at the diagram below and concluded x=y.The student justified that conclusion by saying that both angles are subtended by arc AB. What is the students error? What are the values of X and y? What was the effect of the Industrial Revolution on the working class?A. Demand for urban housing led to increased prices, forcing theworking class out of major cities.B. Increased job opportunities in factories allowed many to improvetheir social status.OC. Lack of regulation led to long hours, low pay, and dangerousworking conditions.D. Machines replaced people in many factory jobs, forcing them toreturn to agricultural labor. Why did Thomas Paine publish Common Sense? 55 POINTS!!!!!! WILL GIVE BRAINLIEST!!!!!!! PLS HELP ASAP!!!!!Danielle is trying to solve the equation [tex]8^x=\frac{1}{64}[/tex]. Explain in detail how Danielle should solve this problem. Then solve it step by step showing all your work and tell Danielle what the answer should be. Main term for paraesophageal hernia scientist wants to estimate the puffin population on puffin island what year was the spainsh armarda Can someone help me with this problem? Art movements refer to changes in art style or particular ideas that define the work of a group of artists at a certain time. The first woman to run for president chose whom as her running mate?. Is H2O an acid, ionic, or covalent compound? Why does the us import oil? because it does not produce any oil at all because it needs higher quality oil than it produces because it has exported too much oil to nearby countries because it is cheaper to import oil than to produce it A solution of the ionic salt caso3 would have a ______ ph. (acidic, basic, or neutral) A rental car company charges $63.41 per day to rent a car and $0.05 for every mile driven. Ella wants to rent a car, knowing that: She plans to drive 275 miles. She has at most $200 to spend. What is the maximum number of days that Ella can rent the car while staying within her budget? 2007 Federal Income Tax Table Single: Over But not over The tax is $0 $7,825 10% of the amount over $0 $7,825 $31,850 $788 + 15% of the amount over $7,825 $31,850 $77,100 $4,386 + 25% of the amount over $31,850 $77,100 $160,850 $15,699 + 28% of the amount over $77,100 $160,850 $349,700 $39,149 + 33% of the amount over $160,850 $349,700 And Over $101,469 + 35% of the amount over $349,700 Aaron Priest had a taxable income of $165,000. He figured his tax from the single taxpayer table above. 1. Find his earned income level. 2. Entered the base amount. = $ 3. Found the amount over $ = $ 4. Multiplied line 3 by % = $ 5. Added Lines 2 and 4 = $ 6. Computed his monthly withholding would be = $ A simulation shows whether changing various weather conditions increases the likelihood that a hurricane will form. which type of model is this? Today only a table is being sold for $364.89. This is 38% of its regular price. What was the price yesterday