Problem

Running the RaceCreate an application that allows the user to enter the names of three run...

Running the Race

Create an application that allows the user to enter the names of three runners and the time it took each of them to finish a race. The application should display who came in first, second, and third place. For simplicity’, you can assume that the two runners will never have exactly the same finishing times. The application’s form should appear similar to the one shown in figure 1. The  Clear button should clear all text boxes and calculated labels. The  Exit button should close the form. Include the following input error checking: No runner name can be blank, and finishing times must be both numeric and positive.

Use the following test data to determine if the application is calculating properly:

Names and Times

Results

John, 87 seconds

Carol, 74 seconds

Shelly, 94 seconds

First place: Carol

Second place: John

Third place: Shelly

Figure 1 Race Resalts from

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT