Your program should ask for a racers name, followed by their total score for the season. You
Fantastic news! We've Found the answer you've been seeking!
Question:
Your program should ask for a racers name, followed by their total score for the season. You should output this list on two separate lines. The first line will contain the names of the racers separated by commas and the second line will list their score. These should be listed in descending order based on the amount of points each racer has.
This file should be named RaceCar.txt
Note: Your program should handle all types of inputs without crashing.
Example:
Input | Output | |
Smith | Vespa, Duncan, Smith, Szudy, Rogers | |
24 | 36,32,24,20,19 | |
Rogers | ||
19 | ||
Vespa | ||
36 | ||
Duncan | ||
32 | ||
Szudy | ||
20 |
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: