Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment 8 . 1 ( I just want the code and source code of the program ) * * Availability: Ilem is hidden from studens.

Assignment 8.1(I just want the code and source code of the program)**
Availability: Ilem is hidden from studens.
Objective:
Student Instructions:
Analyze the following problem:
(Retrieve of Gaddis, T.,2018, p.225) Programming Challenges, 17.Personal Best, Chapter 4.
Personal Best
Write a program that asks for the name of a pole vaulter and the dates and vault heights (in meters) of the
athlete's three best vaults. It should then report, in order of height (best first), the date on which each vault
was made and its height.
Input Validation: Only accept values between 2.0 and 5.0 for the heights.
Use the Vault, MeterCentimeter and Date classes, incorporate MyString class discussed in this module and design a new class named Athlete with two attributes:
a. The first attribute is named name of MyString datatype
b. The second attribute is called myVaults dynamically memory allocated to stores de n objects of Vault Class datatype.
The class has a member function that sorts by the vault heights. Implement the Selection sort Algorithm.
Implement your code's Constructors, Destructor, Copy Constructor, Mutators, and Accessor functions and overload operators in your classes.
Ask the user the number of vaults. And print the three best vaults.
The solution must contain the following:
a. Source code.
b. Separate class specifications from implementation.
c. Program output.
. Descriptive Tables.
e. UML diagrams.
f. CRC cards.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL Crash Course A Hands On Introduction To Database Development

Authors: Rick Silva

1st Edition

1718503008, 978-1718503007

More Books

Students also viewed these Databases questions