# Lab 2 Logic Structures scoring application for an archery competition

Availability: In stock

Regular Price: \$20.00

Special Price: \$15.00

OR

Double click on above image to view full picture

## Quick Overview

Lab 2 Logic Structures scoring application for an archery competition

In this project you will be writing a scoring application for an archery competition. For the purpose of this assignment, assume that the competition will be divided into four ends (rounds). Three archers will compete. You will create a console C++ program that uses a nested loop to enter each archer's individual end scores and then displays the total score for each archer. Also calculate and display the overall average end score.
Note: This lab does not require the use of arrays. Do not use them. We will write a similar program with arrays later in the course.

Input/Output Sequence
The program should prompt for each of the end scores for the first archer, then display the first archer's total score before moving on to the next archer. The overall average end score is the last output displayed.
Input Validation Include domain (range) validation in your solution. The lowest score an archer can have for one end is zero. The highest is 60 (based on six arrows). If the user enters a value outside of that range, the program should display an error message and re-prompt. Validation for non-numeric input is also required.

Processing and Output
Target archery scores are always whole numbers. Display the average scores to one decimal place.

General Requirements
• Include an opening comment with your name, the name of the program, the date, and a short description.
• Follow the style guide! Use descriptive names and sensible data-types for variables, constants, arrays, functions, etc. that follow our naming conventions. Use good spacing and make sure braces ({}) are located where they are supposed to be.
• Attach one unzipped source code file (.cpp) to the assignment. Nothing else please.

Regular Price: \$20.00

Special Price: \$15.00

## Details

Lab 2 Logic Structures scoring application for an archery competition

In this project you will be writing a scoring application for an archery competition. For the purpose of this assignment, assume that the competition will be divided into four ends (rounds). Three archers will compete. You will create a console C++ program that uses a nested loop to enter each archer's individual end scores and then displays the total score for each archer. Also calculate and display the overall average end score.
Note: This lab does not require the use of arrays. Do not use them. We will write a similar program with arrays later in the course.

Input/Output Sequence
The program should prompt for each of the end scores for the first archer, then display the first archer's total score before moving on to the next archer. The overall average end score is the last output displayed.
Input Validation Include domain (range) validation in your solution. The lowest score an archer can have for one end is zero. The highest is 60 (based on six arrows). If the user enters a value outside of that range, the program should display an error message and re-prompt. Validation for non-numeric input is also required.

Processing and Output
Target archery scores are always whole numbers. Display the average scores to one decimal place.

General Requirements
• Include an opening comment with your name, the name of the program, the date, and a short description.
• Follow the style guide! Use descriptive names and sensible data-types for variables, constants, arrays, functions, etc. that follow our naming conventions. Use good spacing and make sure braces ({}) are located where they are supposed to be.
• Attach one unzipped source code file (.cpp) to the assignment. Nothing else please.