Java Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJava Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old April 28th, 2007, 07:42 PM
dragonmon dragonmon is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 1 dragonmon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 34 sec
Reputation Power: 0
Word Scrambler

Help - I am a total beginner and i try to write a word scrambler program in Java, that has two methods called scrambled word and scrambled words. The program needs to read a paragraph of words from a text file and return the words scrambled, except for the first and last letters from every word. The program can not contain arrays. Please help me, i don't know what to do anymore. It needs to be beginner level...

Reply With Quote
  #2  
Old May 3rd, 2007, 08:09 PM
daniel_g daniel_g is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 60 daniel_g User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 h 3 m 50 sec
Reputation Power: 3
Here is a pseudocode:
Code:
class Scramble{
    String scrambledString;
    main{
        open text file;
        String yourString = read from text file;
        Scramble s = new Scramble()// create new object
        s.method1(yourString);
        print(s.method2());
    }
    
    method1(String someString){
        Scramble letters of someString;
        scrambledString = someString;
    }
    String method2(){
        return scrambledString;
    }

Where exactly are you stuck? Can you post some code?
Don't expect us to do the homework for you, however, we can help solve problems you might encounter.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJava Development > Word Scrambler


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT