Results 1 to 7 of 7
Thread: java progaram
- 12-02-2011, 11:17 AM #1
Member
- Join Date
- Dec 2011
- Posts
- 2
- Rep Power
- 0
- 12-02-2011, 12:19 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,413
- Blog Entries
- 7
- Rep Power
- 17
Re: java progaram
I think it's the easiest to split your 'problem' in two parts: the top part and the bottom part; number the lines from 0 to 5 (top to bottom) and the positions (from left to right) 0 to 5; for a line i and a position j, try to figure out the character at that position. If you have solved all that, it is easy to solve the entire bottom part of your problem.
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 12-02-2011, 04:41 PM #3
Member
- Join Date
- Dec 2011
- Posts
- 19
- Rep Power
- 0
Re: java progaram
Here is the code to perform the function u described. I did it in a hurry so id double check it, plus Im leaving it up to you to discover what I did, so that you understand better. Ill just give you a hint, its possible to look at char to their ASCII (or unicode) number values
Last edited by Rewry; 12-02-2011 at 04:50 PM.
- 12-02-2011, 04:45 PM #4
Re: java progaram
@Rewry, this is what we call spoon feeding. We don't do that here. JosAH described how he can accomplish this, but provided no code. This is how we prefer our questions to be answered. If your code works, and he uses it (Copy pasta), then he learns nothing. What did that accomplish? You just hurt someone learning the basics by not forcing them to think and understand how this stuff works. Until you are forced to figure it out by yourself, maybe with guidance but not spoon fed, you will not learn anything to its full extent.
- Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
- +Rep people for helpful posts.
- 12-02-2011, 04:49 PM #5
Member
- Join Date
- Dec 2011
- Posts
- 19
- Rep Power
- 0
Re: java progaram
Sorry first day using this forum. I didnt know was just trying to help...wont happen again
- 12-05-2011, 02:12 PM #6
Member
- Join Date
- Dec 2011
- Posts
- 2
- Rep Power
- 0
Re: java progaram
I couldn't see any code here and i have tried this code many times but didn't get the output,i am new to java.I understand everyone saying for my welfare,not to spoon feed.can you please send me this code to my id [email removed]@gmail.com, it will be so useful to get an idea and develop further and others too thanks for the reply!!!!
Last edited by DarrylBurke; 12-06-2011 at 06:44 PM. Reason: Removed email
- 12-06-2011, 06:44 PM #7
Re: java progaram
Moderator advice: Don't post your email address on a public forum and don't blatantly ask to be spoonfed. Also, don't solicit off-forum communication, as that defeats the very purpose of a forum, which is to share problems and their potential solutions.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
Similar Threads
-
hi friends please help me regarding writing the following progaram
By adithya4u4ever in forum Advanced JavaReplies: 3Last Post: 03-08-2009, 02:58 PM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks