write a program in java. it is basically a voting machine where a voter can create a profile. if he already has a profile he
write a program in java. it is basically a voting machine where a voter can create a profile. if he already has a profile he can directly cast the result. voter can cast a vote by selecting a party sign or the candidate name. later the machine will tell the results of the winning candidate.
please add upto 3 candidates and signs on your own.
classes are voter, candidate, select sign, cast vote, admin, result and voter profile if these helps.
also provide the screenshots of the code running in compiler.
This is a basic Java project that is only gonna execute on CLI. and the screenshot are the code running on VS code or any other compiler.
don't copy any other code because they are wrong
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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