Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started