Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4. Running the Race Create an application that allows the user to enter the names of three runners and the time it took each of

image text in transcribed
4. 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 three runners will never have exactly the same finishing times. The application's form should appear similar to the one shown in Figure 4-36. The Clear button should clear all text boxes and calculated labels. The Exit button should close the form. In clude the following input error checking: No runner name can be blank, and finish ing times must be both numeric and positive Use the following test data to determine if the application is calculating properly: Names and Times John, 87 seconds Carol, 74 seconds Shelly, 94 seconds Results First place: Second place: Third place: Carol John Shelly Race Results form Race Results Enter the three runners names and finishing times Finishing Time in seconds) Name Runner 1: John Runner 2: Carol Runner 3: Shelly Race Resuts 87 74 94 1st Place: Carol nd Place: John rd Place: Shelly Calculate Results Clear

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions