Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A focus group recently met to evaluate a new product your company is thinking about offering. There are 5 people in the group who are

A focus group recently met to evaluate a new product your company is thinking about offering. There are 5 people in the group who are rating your product on a scale of 1 to 10. Scores will be entered in as whole numbers. You are going to write a program that will read in the scores and determine the average score. Your program will also determine the highest and lowest scores. Your program should implement functions that perform the following tasks: Accept the data function should prompt the user for score. Error checking should validate that it is in the range of 1 to 10. A function should be called for each of the ratings Determine the highest rating return the highest rating of the values passed to the function Determine the lowest rating - return the lowest rating of the values passed to the function Average the scores display the average score of he values passed to the function. When creating your flowchart, the main flowchart should contain predefined process symbols representing the function calls and have a single Start and End. Each function should be a separate flowchart with the name of the function as the start symbol and return in place of the end symbol. Keep the following points in mind when creating your program: Output should be labeled, aligned, and formatted to 2 decimal places. Do not use global variables in your program. Do not use arrays in your code. Make sure you are using the correct data types and descriptive variable names. Add a comment to the top of your program that includes your name, the program name, and a description of the program code. Include descriptive comments throughout your program. Save your code as Rating lastname.cpp or main.cpp Test your calculations! After completing the assignment, attach your Rating lastname.cpp or main.cpp file and flowchart/pseudocode to the Assessment link for grading.

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

The Database Relational Model A Retrospective Review And Analysis

Authors: C. J. Date

1st Edition

0201612941, 978-0201612943

Students also viewed these Databases questions

Question

Understand the role of internal marketing and communications.

Answered: 1 week ago