Search:

Type: Posts; User: jkkj

Search: Search took 0.23 seconds.

  1. Replies
    7
    Views
    2,157

    Re: Llist of words and frequency of each word

    ok. thanks
    It's my code but it 's not right. Can you have me?

    package lab7;
    import java.io.*;

    public class Main{
    private static void linecount(String fName, BufferedReader in)
    throws...
  2. Replies
    7
    Views
    2,157

    Llist of words and frequency of each word

    Write a program to enter text string, then count the number of times each word occurs in that string and print to the screen in the format: word - number of words

    output:
    Enter string: I love you...
Results 1 to 2 of 2