Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: help me pls

  1. #1
    Junior Member
    Join Date
    Sep 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default help me pls

    Make a java program which allow to user entering strings and print on the screen statistics. The statistic must include next information:
    - How many words are entered?
    - How many times (in percents) are entered every word?
    - What is the length of different words?
    - What is length of bigger word?
    - What is length of smaller word?


  2. #2
    Member
    Join Date
    Sep 2013
    Posts
    101
    Thanks
    38
    Thanked 0 Times in 0 Posts

    Default Re: help me pls

    I'm new and have already rambled more than probably usually anticipated (likely aggravating certain people), so I certainly don't want to cross the line of spoon feeding. So, I will say look into either scanner or BufferedReader. Personally I prefer BuffereReader. Just make note that System.in is the variable you'll be interested in referencing. Also as a side note, if you search this very forum you'll find plenty of examples.

  3. #3

    Default Re: help me pls

    Without telling you the answer to your homework, I would say to put the strings into an array an use the built in methods to calculate your data.

  4. The Following User Says Thank You to LinuxPower For This Useful Post:

    jps (September 2nd, 2013)

  5. #4
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: help me pls

    Welcome to the forum
    Thread closed as a homework dump.
    If you have an actual question read this and start a new thread with your question

Similar Threads

  1. Pls help
    By avi11 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 21st, 2013, 04:43 AM
  2. Help Pls..
    By shen_punkz21 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: January 28th, 2013, 11:41 AM
  3. pls.pls.pls.help with this
    By izzahmed in forum What's Wrong With My Code?
    Replies: 8
    Last Post: October 25th, 2011, 11:30 AM
  4. Pls help me
    By rose_brit3 in forum Loops & Control Statements
    Replies: 3
    Last Post: September 28th, 2010, 09:57 AM
  5. Pls Help
    By randika11 in forum JDBC & Databases
    Replies: 3
    Last Post: July 20th, 2010, 05:52 AM