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

  Which would you recommend to be used

Discuss the following questions with regard to the 3 popular access control models, DAC, MAC, and RBAC:

  Social engineering analysis group research experience

Social Engineering Analysis group research experience; what did go well? what were challenges? How you divided the work between 10 members.

  Supplier and the number of products they supply

Show the name of each supplier and the number of products they supply. Order by supplier name.Show the name of each category and the number of products in each category. Only show categories that have more than three products. Order by category ..

  Discuss host-based ids versus network-based ids

Discuss host-based IDS versus network-based IDS

  Wap that inputs three different integers from the keyboard

(Arithmetic, Largest Value and Smallest Value) Write a program that inputs three different integers from the keyboard, then prints the sum, the average.

  Focuses on information gathering from risk sources

This case study focuses on information gathering from risk sources and what to do with that information once it has been gathered.

  Context of entrepreneurship or intrapreneurship

Critique their justifications of how their concept or idea fits within the context of entrepreneurship or intrapreneurship to create change.

  Aes uses the indirect-rijndael algorithm

AES uses the Indirect-Rijndael algorithm  2. packet filter protect networks by blocking packets based on the packets' content

  Create incident response policy covers development-response

Policy to reduce network down-time if future incidents happen. Create incident response policy which covers development of incident response team, disaster recovery process and business continuity planning.

  Create a boardroom-quality presentation

Develop a local area network plan for Taylor & Sons Financial Consulting, including the layout of the network, user and group access, and security. Create a boardroom-quality Microsoft® PowerPoint® presentation of 10-12 slides detailing your plan.

  Evaluate online tutorials and online communities

Ray and Jason have just finished developing the documentation for a system your team recently completed. Ray insists that the documentation should be printed in booklet format and included with the system.

  What are sexist stereotypes

What are sexist stereotypes? What are some common stereotypes about women that you can think of?

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