programming hw desperate help!
So i started it off but it's been a while since i've done this and i need it to pass my class. I'm crazy lost and i have no clue how to finish it. I tried my best but i'm seriously stuck. Can someone please please help me finish it?
Create a dictionary with postings. The file conisisting of 10 sentences. Each sentence has a unique document number 1 through 10. All words in the sentences in lower case except for the first character of a name. Eliminate all punctuation marks from the sentences. The dictionary and posting should be a sorted singly linked list. Output should be the original sentences and the dictionary with the postings.
Code Java:
public class Node{
private String element;
private Node next;
public Node(String s, Node n) {
element=s;
next=n;
}
public String getElement() {return element;}
public Node getNext() {return next;}
public void setNext(Node newNext) {next=newNext;}
}
Re: programming hw desperate help!
Where are you stuck? What have you tried? What worked, what didn't work? How didn't it work?
This isn't a homework service. If you're stuck on something specific, then we can help. Break your problem up into smaller pieces, and tackle each piece by itself. Take apart the assignment- write smaller programs that each do one sentence from it, and don't even think about combining them until you have them all working by themselves.
Recommended reading: Starting Writing a Program
Re: programming hw desperate help!
Please don't post duplicate threads. I deleted your other thread.
Also, a word to the wise, mentioning your deadline (as you did in your other thread) will only make you look impatient and greedy. There are hundreds of posts here, each with their own urgency and deadline. Presuming that your time is worth more than others will actually decrease your chances of getting help.
The best way to increase your chances of getting help is to follow the advice I already gave you.