Write a C++ program using Doubly Linked List to record and retrieve scores of Gulf Tournament players.
Question:
Write a C++ program using Doubly Linked List to record and retrieve scores of Gulf Tournament players. The name and scores of the players will be entered as the player finishes. Your program should be able to achieve the following functions, 1. Insert the data (name,and scores) for number of players (based on user input) and accordingly create a Doubly Linked List. 2. Scores and names can be printed in order by ascending or by descending scores. 3. Given a score, all players with the same score can be printed. 4. Create a function named displayPlayer() based on following conditions: • Option 1 (individual): User will enter Player Name as input and function will display the player details. • Option 2: Function will display all players’ details in record. You need to ask user to select from the following menu 1. Insert a New player 2. Print players with same score: insert a score: 3. Print players’ scores assending (A) or desending (D): 4. displayPlayer() individual (I) or All (A):
Introduction to Probability and Statistics
ISBN: 978-1133103752
14th edition
Authors: William Mendenhall, Robert Beaver, Barbara Beaver