Find Jobs
Hire Freelancers

homework help for java

$15-20 USD

Completed
Posted over 21 years ago

$15-20 USD

Paid on delivery
I'm lost on my homework and need a bit of help...i can't figure out a loop that will only print the distinct words while keeping their count...the lab and my code so far is below...I just need hepl with one loop...it should take only 15 minutes...I will pay $15 and need the help as soon as possible as it is driving me nuts...I'd like my code to be modified...so, I can see what i was doing wrong... Here's the lab... In this lab you will write a program that reads in a text file and then display all words appearing in this file one by one. If a word has appeared more than once you should display it just one time. You should also display the number of times each word has appeared in the file. You are required to use JFileChooser to let the user pick the input file. Moreover, words are considered case-insensitive, meaning "the" and "The" ought to be considered the same. For example, if your input file has the following content Already a force in software for personal digital assistants, Microsoft is ramping up efforts to provide the operating systems for those devices' close relative: the next generation of "smart" cell phones that can handle e-mail, digital photos and other data. Microsoft splashed into the smart-phone scene in Europe last year with a device sold by the British wireless carrier Orange. Your output should look like (or very similar to): already 1 a 2 force 1 in 2 software 1 for 2 personal 1 digital 2 assistants 1 microsoft 2 is 1 ramping 1 up 1 efforts 1 to 1 provide 1 the 4 operating 1 systems 1 here's what i've got... package arrayreader; import java.io.*; import javax.swing.*; import java.util.*; public class ArrayThing { public static void main(String[] args) { JFileChooser chooser = new JFileChooser ("C:\\Documents and Settings"); if([login to view URL] (null) == JFileChooser.APPROVE_OPTION) { File selectedFile = chooser.g ## Deliverables 1) Complete and fully-functional working program(s) ## Platform i just want to be able to run the program in jbuilder... -java-
Project ID: 2901781

About the project

5 proposals
Remote project
Active 21 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$12 USD in 14 days
5.0 (21 reviews)
4.4
4.4
5 freelancers are bidding on average $13 USD for this job
User Avatar
See private message.
$13.60 USD in 14 days
4.9 (79 reviews)
4.7
4.7
User Avatar
See private message.
$8.50 USD in 14 days
5.0 (17 reviews)
4.2
4.2
User Avatar
See private message.
$12.75 USD in 14 days
4.9 (20 reviews)
3.3
3.3
User Avatar
See private message.
$17 USD in 14 days
5.0 (19 reviews)
3.2
3.2

About the client

Flag of UNITED STATES
United States
5.0
28
Member since Jan 25, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.