Display a summary of the results

Assignment Help C/C++ Programming
Reference no: EM13906105

The Internet and the web are enabling more people to network, join a cause, voice opinions, and so on. The presidential candidates in 2012 used the Internet intensively to get out their messages and raise money for their campaigns. In this exercise, you'll write a simple polling program that allows users to rate five social-consciousness issues from 1 (least important) to 10 (most important). Pick five causes that are important to you (for example, political issues, global environmental issues). Use a one-dimensional array topics (of type String) to store the five causes. To summarize the survey responses, use a 5-row, 10-column two-dimensional array responses (of type Integer), each row corresponding to an element in the topics array. When the program runs, it should ask the user to rate each issue. Have your friends and family respond to the survey. Then have the program display a summary of the results, including:

a) A tabular report with the five topics down the left side and the 10 ratings across the top, listing in each column the number of ratings received for each topic.

b) To the right of each row, show the average of the ratings for that issue.

c) Which issue received the highest point total? Display both the issue and the point total.

d) Which issue received the lowest point total? Display both the issue and the point total.

Reference no: EM13906105

Questions Cloud

Considering purchasing equipment : Lefler Company is considering purchasing equipment. The equipment will produce annual cash inflows of $44,000 for 3 years. Lefler requires a minimum annual rate of return of 8%. Assuming that the cash inflows are received at the end of each year, wha..
Considering investing in an annuity contract : Arthur Company is considering investing in an annuity contract that will return $46,000 annually at the end of each year for 15 years. What amount should Arthur Company pay for this investment if it earns a 7% return, rounded to whole dollars?
Custom skateboard-what is the contribution margin : You want to open up a custom skateboard shop. You can sell each skate-board for $160. It takes 3 hours to make each skateboard. Each skateboard maker earns $25 per hour. Each skateboard costs $15 in raw materials. What is the contribution margin? How..
Eliminates departments with sales dollars that are less : Suresh Co. expects its five departments to yield the following income for next year.
Display a summary of the results : When the program runs, it should ask the user to rate each issue. Have your friends and family respond to the survey. Then have the program display a summary of the results, including:
The equilibrium of this game and pre tax equilibrium : Suppose the market for semiconductors in the U.S. is characterized by: Qd = 200 – 40P [Demand] Qs = 40+ 40P [Supply] The market for semiconductors in the rest of the world is characterized by: Qd = 160 – 40P [Demand] Qs = 80 + 40P [Supply] Suppose th..
Develop documentation for human resources professionals : Develop documentation for human resources professionals to manage a specific employment position. The materials you create would assist human resources professionals to choose, train, and develop successful employees toward helping the company mee..
Number of new entries of parts in the application : The application should be able to count the number of automobile parts sold every week depending upon the number of new entries of parts in the application. If a part is not sold for more than six months after its date of manufacture, the applicat..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a console-based object-oriented c++ program

Write a console-based object-oriented C++ program that generates a random number and prompts the user to guess it

  Destroy sauron''s ring by throwing it into the volcano

In order to destroy Sauron's ring by throwing it into the volcano Mt. Doom in the heart of Mordor, the hobbits have traveled a long way from their home in the Shire.

  Program to tests whether they form a magic square

Write a program that reads n2 numbers from standard input and tests whether they form a magic square when put into matrix form.

  Write a program to find value of sin

Write a program to find value of sin(x) using expansion series given below by using a function.

  Search the maximum number from a list of numbers

Write a function to search the maximum number from a list of numbers:

  Main program should instantiate an instance

The main program should instantiate an instance of the class Rectangle and then make calls to the member functions to input the data and output the results

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Program that generates 50,000 random integers from 1 to 6

Program that generates 50,000 random integers from 1 to 6 (inclusive). Count the number of times that each number occurs and output the totals

  Performs a merge sort on 2 number sequences

Write a C program Sort.c that performs a merge sort on 2 number sequences produced by the program in Q1. Sort.c should spawn 2 processes and each of the children processes would exec() the Gen program to produce a sequence.

  Parallel implementations of sum-scan operation

Parallel Implementations of (sum-)Scan Operation and Its Applications - Data Parallel scan operations have the potential to reduce this requirement to O(lg n), thereby speeding up the process drastically for a large number of input elements.

  A minivan has two sliding doors

A minivan has two sliding doors.  Each door can be opened by either a dashboard switch, its inside handle, or its outside handle. However, the inside handles do not work if a child lock switch is activated.  In order for the sliding doors to open, th..

  Develop a program that when you pipe in a file

develop a program that when you pipe in a file it will demonstrate on the left had side the line number  work by having a program piped in and when a \n occurs a new line and number is indicated.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd