Answered step by step
Verified Expert Solution
Question
1 Approved Answer
First of all, Please refer to the following URL to understand the task: https: / / www . chegg.com / homework - help / questions
First of all, Please refer to the following URL to understand the task:
https:wwwchegg.comhomeworkhelpquestionsandanswerstaskedwriteprogrameithercjavawhicheverfeelcomfortablepromptgoalprogramableguq
Next, the solution provided for above does NOT work at all and fetches marks.
The code i pasted in the following URL is the only one that works. However it gets partial marks. I requested help to improve certain items in this code as can be seen in the above mentioned URL. However, once again, someone created an entirely new code that did not work and feteched marks again.
May I request you to kindly follow the code mentioned in the nd URL AND try to improve this code for the following points?
Data Files and Storage: You need to create at least four political party storages that will store answers from the user.
Obtaining Data: You need to make a way of storing the user answers to create a program that will accurately survey users and guess their political affiliations.
Additionally, the last question should ask which political party they affiliate with. Also, the amount of data is not enough to accurately guess the user's political affiliate.
Program Specifications: Your code produces the result of its guess. However, the result is not based on machine learning. It needs to weigh answers with differing levels of intensity depending on which parties they correspond best with.
Efficiency: As your program doesnt use machine learning, its impossible to determine if your code is efficient.
Again, please improve the code, do not write a completely new code. Thank you
Step 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