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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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