Simple polling program

Assignment Help Basic Computer Science
Reference no: EM132849943

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 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.

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

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

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

Data

Stephanie: Gun control 8, immigration 10, health care 6, taxes 2, global warming 9

Hassan: Gun control 7, immigration 6, health care 8, taxes 9, global warming 5

Ryan: Gun control 2, immigration 3, health care 8, taxes 9, global warming 1

Lori: Gun control 3, immigration 2, health care 8, taxes 9, global warming 1

David: Gun control 7, immigration 9, health care 8, taxes 6, global warming 10

Reference no: EM132849943

Questions Cloud

What is the year-end adjustment to the allowance : Using Hen Company data, what is the year-end adjustment to the allowance for doubtful accounts on December 31, 2020
Project management governance framework : Compare advantages and disadvantages of two project management governance frameworks of your choice - Give recommendations for which governance institutions
What will investment be worth in four years time : What will a £7000 investment be worth in four years' time if the interest rate is 1.5% compounded annually? Give your answer to the nearest whole pence
Assess impact of convergence of public and private sector : Assess the impact of the convergence of public and private sector security in the post-9/11 world. How is it being accomplished?
Simple polling program : You'll write a simple polling program that allows users to rate five social-consciousness issues from 1 (least important) to 10 (most important).
How a cxo position can align the needs of customers : Do you believe that the Chief Experience Officer is a top management position that we will see more often in organization charts in the future?
Describe the functions and features of Microsoft Power Point : Describe the functions and features of each of the following computer applications: Microsoft Power Point and Mozilla Firefox
Project selection and portfolio management : Project Selection and Portfolio Management - critical discuss how, in your opinion, the project is linked to company's strategic choice
What point is morrison making about role of long friendship : What role does this friendship play in Nel and Sula's lives and what point is Morrison making about the role of life-long friendships in the formation of identi

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Extensive basic liberty compatible with similar liberty

Each person should have an equal right to the most extensive basic liberty compatible with a similar liberty for others.

  Performs the perfect shuffle on the list

Using python 3 design a function perfect_shuffle_in_place(a_list) which takes as argument a list and performs the perfect shuffle on the list.

  Determining the types of oversights

Write an explanation detailing what steps need to be taken to improve the conditions in the telcom rooms and why you should be permitted to have staff work overtime to correct these oversights. Describe what are the TIA/EIA 568 recommendations. Wh..

  Create instance variables

1.) I have to make a class named after any favorite object in the whole world

  Bond prices and quantity of bonds sold on the graph

Show and label what happens to bond prices and quantity of bonds sold on the graph.

  Write a program segment that initializes memory locations

Write a program segment that initializes memory locations $0000 and $0001 with $12 and $10 using assembler directives.

  Disposal of technology devices and gadgets

This assignment requires you to use more presentation tools and allows you to be creative. It switches gears and addresses the disposal of our technology devices and gadgets.

  Kept prices and costs low for american consumers

Even though the price ceiling kept prices and costs low for American consumers, the cost to OPEC countries of exporting oil was too low to be profitable.

  Consecutive insertions into a binomial queue

1. When do M consecutive insertions into a binomial queue take less than 2M time units? 2. Suppose a binomial queue of N = 2k - 1 elements is built. Alternately perform M insert and deleteMin pairs. Clearly, each operation takes O(log N) time. Why do..

  What is the regression equation

What else would you want to know about this regression before writing a report about the relationship between SAT scores and grade point averages? Why would these be important to know?

  Impact of environmental changes on organization financial

Suppose that an organization did not use processes that were designed and built to be agile, particularly when it comes to IS / IT technologies. Predict the impact of environmental changes on an organization financially, socially, and in terms of ..

  Advanced education segment

The decision to adopt ERM in the advanced education segment happens either in light of a sentinel occasion or at the bearing of the president, board

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