Purchase Solution

program that reads this information and calculates

Not what you're looking for?

Ask Custom Question

People from three different income levels, A, B, and C, rated each of two different products with a number 0 through 10. Construct a file in which each line contains the income level and product rankings for one respondent. Then write a program tht reads this information and calculates the following:
a. for each income bracket, the average rating for product 1;
b. the number of persons in income bracket B who rated both products with a score of 5 or higher;
c. the average rating for product 2 by persons who rated product 1 lower than 3.
Label all output, and design the program so that it automatically counts the respondents.

Purchase this Solution

Solution Summary

Write a program that reads this information and calculates the following:
a. for each income bracket, the average rating for product 1;
b. the number of persons in income bracket B who rated both products with a score of 5 or higher;
c. the average rating for product 2 by persons who rated product 1 lower than 3.
Label all output, and design the program so that it automatically counts the respondents.

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

C# variables and classes

This quiz contains questions about C# classes and variables.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

C++ Operators

This quiz tests a student's knowledge about C++ operators.