Answered step by step
Verified Expert Solution
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:
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 enteredStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started