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

  Create a function that will accept a scalar value

Create a function that will accept a scalar value for the radius of the cylinder and end caps and will accept an array for the height of the cylinder.

  Implement a program to process a weighted undirected graph

Read in the number of vertices V and the number of edges E of the graph followed by its E edges, each in the form u, v, w where 1 0 representing an edge uv with weight w.

  Define a class that consists of three objects

Define a class that consists of three objects: day, month, and year. Within this class define two member function (constructor ) to initialize the objects to today?s date and one that display the date as follows: 05/7/2002

  Calculate the cube of a number

Write a program that will calculate the cube of a number. Do this by writing a user defined function that returns the cube of the value passed to it. Print out the results from main.

  Evaluate the mathematical constant of p

Write a C++ program to evaluate the mathematical constant of PI - Guess a random number between 0.00 and 1.00 and assign this to x.

  Cashregister class that can be used with the retailitem clas

Write a CashRegister class that can be used with the RetailItem class that you wrote in Part 1. The CashRegister class should simulate the sale of a retail item. It should have a constructor that accepts a RetailItem object as an argument.

  Implementing a client

The CSE3300 server for this exercise waits to receive messages on UDP port 3300 of tao.ite.uconn.edu (IP address 137.99.11.9).1 It iteratively receives a request datagram containing a 32-bit integer representing a social security number

  The grid is populated randomly

Initially, the grid is populated randomly with occupied and empty cells. Once the initial grid has been created, the program loops. Each iteration of the loop represents a tick or time step in the environment.

  Program that asks the user to enter the number of miles

Write a C - program that asks the user to enter the number of miles traveled and the number of gallons of gasoline consumed. It should then calculate and display the miles-per-gallon value. Confine your output to 1 decimal place.

  Demonstrate your code compiles and runs for a test case

Use a For loop to iterate through the array and input the values. Demonstrate your code compiles and runs for a test case of your choice.

  Write a program that reads full names one per line

Write a program that reads full names, one per line, and then prints them in the standard telephone directory format. For example, the input Johann Sebastian Bach George Frederic Handel Carl Phillipp Emanuel Bach Joseph Haydn.

  Write a program to evaluate infix expressions

Write a program to evaluate infix expressions. An infix expression looks like the following:   9 * (5 - 4) + 2 / 6

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