Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

C PROGRAMMING Create a program that reads the number of competitors, names and times on different skating trips from the terminal. The program calculates the

C PROGRAMMING

Create a program that reads the number of competitors, names and times on different skating trips from the terminal. The program calculates the total points of the competitors, sorts the competitors and prints the results according to the common points. The printout should be formatted as follows: 1. Jack Smith 162,133 2. Slash Great 164.220 3. Jason Nice 165,000 ... 12. Roland Mcdonald 211,597 Implement the program using tables and sorting generated from records. In skating, points are calculated as follows (fewer points are better): at 500 meters the score is equal to time (eg 38.68 seconds -> 38.680 points), at 1500 meters the time converted into seconds is divided by three, at 5000 meters ten (eg 6.52.24 (6 minutes 52.24 seconds) -> 41,224 points) and 10,000 meters at 20. Times are given in hundredths of a second and scores to the nearest thousandth of a point. 

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_2

Step: 3

blur-text-image_3

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

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

More Books

Students explore these related Databases questions