Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Starting Out With Visual Basic (7th Edition) Chaper 11, Developing Web Applications Progamming Challenge 3. Sailboat Race Ranking Create an ASP.NET verison of the solution

Starting Out With Visual Basic (7th Edition)

Chaper 11, Developing Web Applications

Progamming Challenge 3. Sailboat Race Ranking

Create an ASP.NET verison of the solution program for Progamming Challenge named Sailboat Race Ranking.

Rank three boats finishes from four boat races. (3 rows: Boat#1, Boat #2, and Boat#3) (6 columns: Race 1, Race 2, Race 3, Race 4, Total, Rank)

Rank the boats from a sailboat race. Assign them first, second, and third place. Perform the following input validations:

1. All input values must be valid integers.

2. In any column (a single race) the three integers must add up to 6 (1 + 2 + 3, in any order). We assume there are no tie scores.

When one of these input validation fails, display an appropratie message in the status bar. You do not need to customize the message for each input field, but you must explain the nature of the error (nonnumeric, or duplicate values for a single race). For example, if the user enters the rankings incorrectly for Race #1, the error message on bottom says "Enter 1, 2, and 3 only for Race 1." If all inputs are correct, display the rankingsfor each boat (1,2,3) in the Rank column. It is possible for two or more boats to have the same total race score. In that case, display the word "TIE" on the status bar, an turn the font color for all three scores to the color Red.

Note: There are six ways of arranging the rankings of three sailboats, so your nested IF statement must be able to create these arrangements. The arrangements are: (1,2,3),(1,3,2),(2,1,3),(2,3,1),(3,1,2), and (3,2,1).

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

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

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What about leadership lessons from particularly good or bad bosses?

Answered: 1 week ago

Question

How would you assess the value of an approach like this?

Answered: 1 week ago

Question

When would you use one approach, and when would you use another?

Answered: 1 week ago