Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
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. 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 guidel 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

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_2

Step: 3

blur-text-image_3

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

Database Security

Authors: Alfred Basta, Melissa Zgola

1st Edition

1435453905, 978-1435453906

More Books

Students also viewed these Databases questions

Question

Solve using any method. (log 3 x) 2 - log 3 x 2 = 3

Answered: 1 week ago

Question

=+what information would you need about the compact disc industry?

Answered: 1 week ago