Regarding a recent downhill ski competition

Assignment Help Basic Computer Science
Reference no: EM131468519

Description:

Develop a C++ program to provide information regarding a recent downhill ski competition. Enter the names and times of the skiers and determine fasted speed, average speed, look up a skier's time, and display the skiers' names and times.

Name

Time

Leela

2.03

Sarah

2.40

Anna

1.85

Keesha

1.90

Heidi

2.50

Requirements:

1. Use parallel arrays to store the skier names and times. Declare a global const SIZE = 5 to represent the size of the array. Declare the arrays inside the main program. Do NOT use global variables. The arrays must be passed to the functions as parameters.

2. Variable names must be descriptive and initialized.

3. Create a menu to ask the user if they want to

a. Determine the fastest skier

b. Calculate the average time

c. Find the time of a skier

d. Display the skiers and their times

4. Display the menu in the main program and then have functions for each of the menu items.

5. The four functions will be

a. Display fastest skier

b. Display average time

c. Display skier's time. In this function, flag if the user enters a name that is not in the list. Display a message to let the user know the name was not in the list.

d. Display the skiers and their times

6. Output must be labelled and easy to read as shown in the sample output below.

7. Program must be documented with the following:

a. // Name

b. // Date

c. // Program Name

d. // Description

Reference no: EM131468519

Questions Cloud

Time working with virtual team : Project manager for electronics manufacturer, you are supposed to design new, low-cost MP3 player in three months’ time working with "virtual team"
What does cert stand for : What does CERT stand for? Is there more than one CERT available, and how to obtain one. What is the purpose of a CERT? (280 word minimum)
What further evolutions do you predict for the future : what further evolutions do you predict for the future?
What are marketable skills for health care : HA499 : As you begin to apply for positions, describe how you plan to obtain letters of what employers want and relating your skills to the job description.
Regarding a recent downhill ski competition : Develop a C++ program to provide information regarding a recent downhill ski competition.
To affect the value system-nikki will be working primarily : Nikki Williams was working as the sales manager for Industrial Instruments. To affect the value system, Nikki will be working primarily with:
Competitive in today marketplace : Organizations require faster decision making to be competitive in today's marketplace.
Compare the performance of clonalg and forrest algorithm : Apply Forrest's clonal selection algorithm (without crossover) to the problem above. Compare the performance of both CLONALG and Forrest's algorithm.
Proactively addressing today cyberthreats : The Big Picture: The Obligation of All Managers: Proactively Addressing Today's Cyberthreats.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Write a graphics program that draws 12 strings

Write a graphics program that draws 12 strings, one each for the 12 standard colors, besides Color.WHITE, each in its own color. Provide a class ColorNameViewer and a class ColorNameComponent.

  System request form as described in the textbook

Create a 3- 5 page document explaining the idea, the plan, the implementation process, and the system request for the information system department to initiate full investigation for the project/system. Be sure to cover the information that is typ..

  Finding a vertex of g that is not an articulation vertex

Let G be a graph with n vertices and m edges. Give a simple O(n + m) algorithm for finding a vertex of G that is not an articulation vertex-i.e. , whose deletion does not disconnect G.

  Rows of data into each of these above tables

Write SQL Statements to insert at least three rows of data into each of these above tables. Assume that any surrogate key value will be supplied by the DBMS as described above.

  Naming rules for creating variables

6. Explain the naming rules for creating variables, and then provide three examples using the data types int, double, and char and assign values to them. 7. What is the advantage of using the conditional operator?

  Conflict between the principle of free trade

How does the currency exchange rate affect GDP and the balance of payments How might a conflict between the principle of "free trade" and the concept of "absolute advantage

  How many times greater can the constant factor

How many times greater can the constant factor be for Shell sort to be faster than Insertion Sort when n = 1000? How many times greater can the constant factor be for Quicksort to be faster than Insertion Sort when n = 1000?

  Sketch the envelope

An AM signal consists of a 10-MHz carrier modulated by a 5-kHz sine wave. It has a maximum positive envelope voltage of 12 V and a minimum of 4 V.

  Why is it necessary to include both wmfc and mfc

Why is it necessary to include both WMFC and MFC in the logic expression for Counter_enable given in Section 5.6.2?

  What is the output of the following program

What is the output of the following program? Explain. #include using namespace std;void f(int i, int j) {

  Calculations without an arithmetic and logic unit (alu)

Determine whether or not it is not possible for microprocessors to perform calculations without an Arithmetic and Logic Unit (ALU)

  What would the data dictionary

what would the data dictionary look like for question 5a pg. 88

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