Computer program that inputs a degree

Assignment Help Basic Computer Science
Reference no: EM13163431

Problem: In the sport of diving, seven judges award a score between 0 and 10, where each score may be a floating-point value. The highest and lowest scores are thrown out and the remaining scores are added together. The sum is then multiplied by the degree of difficulty for that dive. The degree of difficulty ranges from 1.2 to 3.8 points. The total is then multiplied by 0.6 to determine the diver's score.

Write a computer program that inputs a degree of difficulty and seven judges' scores, and outputs the overall score for that dive. The program should ensure that all inputs are within the allowable data ranges (i.e. error-check the user input the degree of difficulty and all of the judges' scores).

The program must use a single-subscripted array to store the judges' scores.

Reference no: EM13163431

Questions Cloud

Project will be a simple, working program : This programming project will be a simple, working program, using Python language, which utilizes a good design process and includes:Sequential, selection, and repetitive programming statements as well as,At least one function call.
Implement a standard sorted linked list class : Write C++ Program:Implement a standard SORTED linked list class. Be sure to include constructor/copy constructor, destructor, and assignment operator overload.
Compute the zero-point energy of a harmonic : Calculate the zero-point energy of a harmonic oscillator consisting of a rigid CO molecule adsorbed to a metal surface by a bond of force
State what is the heat of vaporization of ethanol : The heat of fusion, ?Hfus, of ethanol (C2H5OH) is 4.9 kJ/mol. The heat of sublimation of ethanol, for the process C2H5OH(s) ? C2H5OH(g) , is 43.5 kJ/mol. What is the heat of vaporization of ethanol?
Computer program that inputs a degree : Write a computer program that inputs a degree of difficulty and seven judges' scores, and outputs the overall score for that dive. The program should ensure that all inputs are within the allowable data ranges
Add the correct code to fill the matrix array with the value : Use the file below code and add the correct code to fill the matr2 array with the values that make it the matrix transpose of matr1. There are many examples on the Internet that show how to do this in C++ and what it should look like when it is corre..
Compute the downward pressure in pascals due to gravity : Calculate the downward pressure in pascals due to gravity exerted by the bottom face of a 3.25kg cube of iron that is 7.50 cm
Calculate the concentration of sodium ion in a solution : Calculate the concentration of sodium ion in a solution made by diluting 350.0 mL of 3.00 M sodium carbonate to a total volume of 2.00 L.
Determine molar mass for this compound and oxidation state : Determine molar mass for this compound and oxidation state of lead in it. write the oxide formula of lead for the corresponding oxidation state

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Why ratings for high quality pages must all get same rating

Ratings for high quality pages should all get the same rating. For example, a high quality page for a common interpretation of the query should get the same rating as a high quality page for a minor interpretation of the query.

  Protect proprietary interest by addressing ethical issues

Advise whether you agree or disagree with CEO, specifically addressing ethical issues involved. Suppose you make a decision to hire a hacker, how would you protect your proprietary interests?

  Explaining threat category

An individual threat can be represented in more than one threat category. If a hacker hacks into a network, copies a few files.

  Calculate overall cost including installation-configuration

Calculate the overall cost, including installation, configuration, maintenance, ISP, and miscellaneous costs. Do not consider depreciation in the cost computation.

  Floating point numbers in scientific notation

Floating point numbers in scientific notation represents numbers as a base number and an exponent. For examples: 2E3, 2.0E12, 3.14E+12, 3.14E-12. Give a grammar that generates floating point numbers. Use your grammar to derive 3.14E+12.

  Expert systems created-deployed in real-world applications

Expert systems have been created and deployed in many real-world applications to support decision making. Discover one recent case study or academic journal article.

  Categorize the point-of-sale system in supermarket

Categorize the following systems and explain your classification: A point-of-sale system in a supermarket, A system which sends out reminders that magazine subscriptions are due to be paid.

  Compare time complexity-convolution using direct convolution

Compare time complexity of convolution with n x n kernel when using: direct convolution with 2-D mask, and separable kernel.

  Explain daytime processing load

Assume daytime processing load consists of 60% CPU activityand 40% disk activity. Your customers are complaining that the system is slow. Which would you select to yield best performance improvement for least amount of money?

  Function whose job is to output some sequence

Write a function whose job is to output some sequence of "interesting" #'s. The numbers should be separated from one another somehow so they don't all run together. This function may need to call another function, where the second function determines..

  Determine features and capacities of ram-disk storage

Determine the features and capacities (RAM, disk storage, processor speed) that Amy should include in the Web server computer that she will need for her site.

  What will occur to supply-demand in short-term and long-term

Price of product in short-term and long-term also describe why you think supply, demand, or equilibrium price will be different, if at all, in short-term and long-term.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd