Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Java Programming Language: You may enter any data you like. (You must read in at least 10 to 15 sets of data) The information

In Java Programming Language:

image text in transcribed

You may enter any data you like. (You must read in at least 10 to 15 sets of data) The information to read in each set of data is: - What is the gender of the survey respondent (male or female) - The age of the survey respondent - Is the survey respondent College educated? (Yes/No) - Does the survey respondent want Biden to run? (Yes/No) You are to print the following: - Title for your output, such as "Democratic Presidential Survey Results" - Total number of survey respondents - Total number of survey respondents who want Biden to run again - Percent of respondents who want Biden to run again - Total number of female survey respondents - Percent of female respondents who want Biden to run again - Total number of male survey respondents - Percent of male respondents who want Biden to run again - Total number of survey respondents under 25 - Percent of survey respondents under 25 who want Biden to run again - Total number of survey respondents who are College educated - Percent of survey respondents who are College educated who want Biden to run again Program notes: - You must use dialog boxes for input but may use System.out|statements for output. - You will need a while loop to run until the user wants to stop - You will ask for all of the input at the beginning of the loop - You will have if statements to count all of the things asked for - ALL of the final printing is to be done AFTER the loop is done (before the system.exit statement) - You should do one thing at a time, print it, and then move on to the next task. For example, first m sure the while loop works. Then move on to count and print the number of survey respondents yo entered

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Databases With Application To GIS

Authors: Philippe Rigaux, Michel Scholl, Agnès Voisard

1st Edition

1558605886, 978-1558605886

More Books

Students also viewed these Databases questions

Question

What is Ramayana, who is its creator, why was Ramayana written?

Answered: 1 week ago

Question

To solve by the graphical methods 2x +3y = 9 9x - 8y = 10

Answered: 1 week ago

Question

1. What might have led to the misinformation?

Answered: 1 week ago