Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write code in java For this assignment you need to write the program Profile.java as detailed belowW Assume you have a file with names, representing

image text in transcribedwrite code in java

For this assignment you need to write the program Profile.java as detailed belowW Assume you have a file with names, representing votes (see below, make your own file for maximum satisfaction) bash-4.2 ls -ld votes.txt -rw-r-r-- 1 dgerman faculty 304 Oct 18 01:56 votes.txt bash-4.2 cat votes. txt Bernie Trump Bemie Bernie Trump Trump Hillary Hillary Trump Bernie Hillary Bemie Putin Putin Putin Hillary Bemie Hillary Hillary Hillary Trurp Colbert Jeb! Jeb! Trump Johnson Stein Jeb Jeb! bash-4.2 This is a short file so you can check by hand that calculations are correct. You have to write Profile.java that summarizes the votes in the file like so: bash-4.2 bash-4.2 1 Hillary-7 2. Bemie-6 3. Trump-6 bash-4.2 1 Hillary-7 2. Bemie-6 javac Profile. java java Profile votes.txt 3 java Profile votes.txt 5 4. Jebl=5 5. Putir 3 bash-4.2 1 Hillary-7 2. Bemie-6 3. Trump 6 4. Jeb!-5 5. Putirr-3 6. Colbert1 7. Johnsor 1 8. SteirF1 bash-4.2 java Profile votes.txt

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

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago