|Get Selected Weeks Solution with ONLY||NOT||Add Selected Tutorials To Cart|
Requirements - DIVE Scoring Program
Your mission: The state diving commission wants to computerize the scoring at its diving competitions. You've been hired to write a program to automate the scoring of dives. Following are the requirements for the program.
After each dive, the user will be prompted to enter the:
If an invalid score is entered, an error message will be displayed. The user will be prompted for the score repeatedly until a valid score is entered.
The program will then display the following information:
The program will then prompt the user if she/he wants to process another dive. The user can type "Y" or "y" to continue, and "N" or "n" to quit.
Diver's name: Sue Jones
Judge #1 score: 45
Diver: Sue Jones
Do you want to process another dive (Y/N)? y
Diver's name: Dave Smith
Diver: Dave Smith
Do you want to process another diver (Y/N)? N
Best practice: Note that a good way to implement the code is to write a first version for only a single dive without validating input. Put yourself in the place of the program. What steps would you personally need to perform in order to process a single dive yourself? Write out those steps on paper as pseudocode and/or in Visual Studio as C# comments, and then implement them one by one, testing as you go. After you have a single dive process working, implement one of the input validations, or the outer loop that repeats the whole process. Whichever you choose, remember to not write too much at one time. Always add and test functionality incrementally!
Pseudocode: Although there are several valid ways to write the program, the following is an outline of one way to design the overall logic.
My tutorial contains Visual Studio C# 2010 Project and Word Document and Detailed comments
If you have more questions, please contact me via email email@example.com
I will help you any time
Thank you !