CIS170C All Assignments CIS170C All Assignments | Page 22
Calculate the overall diver's score
Display the diver's information and overall score
Add diver's overall score to the final score
Add 1 to the number of divers
Prompt the user if she wants to process another diver
End-Loop
Calculate the average score for all divers
Display the number of divers and the average score for all divers
Step 3: Create a New Project
Create a new project and name it LAB3.
Write your code using the Processing Logic in Step 2. Make sure to save your program.
Step 4: Build Solution
To compile the program, click Debug then Build solution (F7). You should receive no error
messages. If you see some error messages, check the code above to make sure you didn’t key in
something wrong. Once you make your corrections to the code, go ahead and click Build >>
Build Solution again.
Step 5: Execute the Program
Once you have no syntax errors, to execute or run your program, click Debug on the menu bar
and then click Start Debugging.
Step 6: Capture the Output