CIS 170 C iLab 3 of 7: Looping
For more course tutorials visit
Lab # CIS CIS170C-A3 Lab 3 of 7: Looping Lab Overview – Scenario/Summary
You will code, build, and execute a program that will use looping to determine the score for a diver based on individual judge’s scores.
Become familiar with the different types of looping structures. Be able to debug a program of syntax and logic errors. Be able to use the debug step-into feature to step through the logic of the program and to see how the variables change values.Deliverables
Step 6: Program Listing and Output
If you are using the Citrix remote lab, follow the login instructions located on the iLab tab in Course Home.
Locate the Visual Studio 2010 icon and launch the application.
Step 1: Requirements – DIVER Scoring Program
Your State Dive Association presently scores its diving competitions with pencil and paper. They would like for you to design and develop a Dive Program in C++.
The paper forms that they presently use have the following:
Diver’s Name, City
JudgeScore1 – The scores entered are from 0 to 10.
DegreeOfDifficulty – This is assigned once for each diver.
OverAllScore – The overall score is the individual diver’s scores totaled and then divided by the degree of difficulty. The highest and lowest scores are removed as they are often skewed entries. Total the three scores left, divide them by 3, and then multiply that by the DegreeOfDifficulty. The degree of difficulty ranges from 1.00 to 1.67.
Display the diver’s information and overall score.
When the competition is complete, there is a summary reportcreated that lists the total number of divers and the average of the overall scores.
Lab hints: When writing this lab, use nested loops. A nested loop is when one loop is completely contained in another loop. In an...