Search:

Type: Posts; User: sc23

Search: Search took 0.10 seconds.

  1. Replies
    17
    Views
    1,143

    Re: JAVA HELP PLEASEEEEEEEE

    no you can search any words you want. The words can be typed into the prompt box when you run the code. The scanner is used to create this.
  2. Replies
    17
    Views
    1,143

    Re: JAVA HELP PLEASEEEEEEEE

    i posted the assignment above. I would ask more specific questions but I am so confused I really don't even know what to ask. We are pulling from files for example (Document.txt) and the program is...
  3. Replies
    17
    Views
    1,143

    Re: JAVA HELP PLEASEEEEEEEE

    read the line of words. Then go through each word...? IDK AH :(
  4. Replies
    17
    Views
    1,143

    Re: JAVA HELP PLEASEEEEEEEE

    you would need to scan the other document to search for the words you are looking for
  5. Replies
    17
    Views
    1,143

    Re: JAVA HELP PLEASEEEEEEEE

    how would you check that?
  6. Replies
    17
    Views
    1,143

    Re: JAVA HELP PLEASEEEEEEEE

    Yes the code reads in the words that I type in the Java prompt to box.
  7. Replies
    17
    Views
    1,143

    Re: JAVA HELP PLEASEEEEEEEE

    Yes, it is supposed to use text files then count the words you enter in that file. But when I enter which words to count it doesn't work. I don't know exactly which part of my code if wrong for this...
  8. Replies
    17
    Views
    1,143

    Re: JAVA HELP PLEASEEEEEEEE

    I am working on the last code that I posted. I am trying to read in a handful of words on one line. Then every time you read in a new line form a file I want to check if any of the words you're...
  9. Replies
    17
    Views
    1,143

    JAVA HELP PLEASEEEEEEEE

    For this assignment you are to write a program that handles text files. The assignment requires three classes (plus library classes); we've given you two - FreqStudy, the driver, and another class,...
  10. Replies
    14
    Views
    1,499

    Re: Program not printing anything II

    import java.util.Scanner;

    public class LetterDriver{
    public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    String tScan= " ";
    while(tScan.length() > 0){...
  11. Replies
    14
    Views
    1,499

    Re: Program not printing anything II

    import java.util.Scanner;

    public class LetterDriver{
    public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    String tScan= " ";
    while(tScan.length() > 0){
    tScan =...
  12. Replies
    14
    Views
    1,499

    Re: Program not printing anything II

    I have this for my driver class... But I don't know what to put so that it will print out the number count...I have made is so that there is a 2 line input

    import java.util.Scanner;

    public...
  13. Replies
    14
    Views
    1,499

    Re: Program not printing anything II

    I don't understand how to change this at all. I understand that I shouldn't have printResults function because it is simply not doing anything but I don't get how to change it. Sorry so new to...
  14. Replies
    14
    Views
    1,499

    Re: Program not printing anything

    public class LetterProfile
    {
    int scoreboard[] = new int [26];
    private int index;
    private int next;
    private int largest =0;
    private int largestindex =0;

    public void countChars...
  15. Replies
    14
    Views
    1,499

    Program not printing anything II

    I am in the same situation and need help with the same problem. What you have for code is everything I have had since last week and it still prints "25" Ive tried fixing it many times and nothing had...
Results 1 to 15 of 15