Results 1 to 3 of 3
Thread: Urgent HELP!
- 01-04-2011, 02:33 AM #1
Member
- Join Date
- Jan 2011
- Posts
- 2
- Rep Power
- 0
Urgent HELP!
Hey, guys I have an assignment due tomorrow and I am really lost, if anyone can give me some example code or explain to me how to this I would be greatful, I could do it probably if I could set the words, but the user input is where I get lost, in the sense of java counting the letters and matching it with the indexes, this is what it is:
It has to display like:Write a program that lets you enter any word and prints it out in various ways. The design and analysis of this problem should include techniques learned in class such as the flowchart and pseudocode. The algorithm must include repetition structures and use String methods deemed necessary such as charAt(), indexOf(), length(), substring(). Your input
Sample output:
Canada
Canad
Cana
Can
Ca
C
C-a-n-a-d-a
C-a-n-a-d
C-a-n-a
C-a-n
C-a
C
Canada
anada
nada
ada
da
a
- 01-04-2011, 02:36 AM #2
Member
- Join Date
- Jan 2011
- Posts
- 2
- Rep Power
- 0
I also I am using the Ready to Program IDE
-
Closing thread as it doesn't ask an actual question but rather simply posts an assignment.
Similar Threads
-
Urgent
By agentkiran007 in forum Advanced JavaReplies: 23Last Post: 08-08-2010, 03:59 PM -
[URGENT]SHA Encryption System...need urgent helps
By java_idiot in forum New To JavaReplies: 6Last Post: 05-02-2010, 10:04 AM -
Very urgent, do the help.
By jyotigupta6 in forum Threads and SynchronizationReplies: 1Last Post: 11-18-2008, 12:30 AM -
Hi, need some urgent help!
By jdark in forum New To JavaReplies: 2Last Post: 04-18-2008, 06:50 AM


LinkBack URL
About LinkBacks

Bookmarks