Question: 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
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
Get step-by-step solutions from verified subject matter experts
