Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Any help would be appreciated. The language is c++. ECE 1410 Figure Skating Program Requirements Task Using Microsoft Visual Studio, write a program that keeps

Any help would be appreciated. The language is c++. image text in transcribed
image text in transcribed
ECE 1410 Figure Skating Program Requirements Task Using Microsoft Visual Studio, write a program that keeps track of country names and scores associated with an Olympics figure skating competition. The program should maintain a linked list of country/score pairs, sorted in descending score order. The user is shown a menu with options to add a node to the list, print the list, and exit the program You should create two C+ classes. One should be named Skater, with a declaration that looks something like this: class Skater public: Skater (string c. float s) string getCountryO float getScore0 Skater getNext o void setNext (Skater "p) private string country float score: Skater "next la The other class should be named List, and should manage a lnked list of Skaters. The constructor simply sets up an empty list. The destructor frees the dynamically-allocated memory. A declaration for List might look like this: class List public: List o void addNode (string country,float score) void printListo List O private Skater"heada la Submit a zip file to Canvas that contains five files: main.cpp, skater.cpp, skater.h, list.cpp, and list.h. Example Output MENU Enter a new tean and score Print rankings . Exit Selection: 1 Enter nation: USA nter score: 96 MENU Enter a new tean and score Print rankings . Exit Selection: 1 Enter nation: China nter score: 97 MENU Enter a new tean and score Print rankings Exit Selection: 2 hina 97 9.6 MENU Enter new team and scort Print rankings . Exit Selection

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

The Database Experts Guide To Database 2

Authors: Bruce L. Larson

1st Edition

0070232679, 978-0070232679

More Books

Students also viewed these Databases questions

Question

8. Explain the difference between translation and interpretation.

Answered: 1 week ago

Question

10. Discuss the complexities of language policies.

Answered: 1 week ago

Question

1. Understand how verbal and nonverbal communication differ.

Answered: 1 week ago