No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi I am currently working on a project where I have to find the most frequently occurring word in an imported file. I have imported the file and can display what it says, but Im having trouble with this part: [COLOR="Green"]"Create a Word class that has a string and a … |
|
Hey guys, Im having trouble adding an imported string file to a linked list (the purpose of the assignment is to find the most frequently used word) here's my code: (my problems in the mostFrequent class so you dont really have to look at the other classes. i just provided … |
|
im trying to take an inputed file and use a linked list to read it and display the most frequently used word. Anybody know how to do it? [CODE] import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.util.*; public class mostFrequentWord { LinkedList<Word> list = new LinkedList<Word>(); public void Read() throws … |
|
Hi i need to change the random numbers in my output to random 'b''s that take up 2/3 of the array and random 'x''s to take up 1/3. Ive been at it for a few days and still have no clue on what to do. Heres my coding and output: … |
|
hi im trying to put random letters into the array i created (only two letters 'x' and 'b' but they need to fill up the whole array) right now its just numbers between 0-9. does anyone know how to change them to letters, if so thanks! :) my output is … |
|
Hi im trying to make a 10X10 board using arrays and have to fill up 2/3 of the board with the letter b, and 1/3 with the letter x. Right now i have created the board and my output shows up as zeros for some reason. can somebody please help? … |