Results 1 to 2 of 2
Thread: Need help with escape characters
- 02-15-2010, 06:27 AM #1
Member
- Join Date
- Feb 2010
- Posts
- 1
- Rep Power
- 0
Need help with escape characters
Hi all,
I am have trouble writing a program with escape characters in it. The object of the program is to print out 3 letters a, b, and c. What I have to do is fix all of the letters to get each to line up. However it seems that some of my \t are not getting read in the program and it is simply not working. If someone could help i would be really thankful
code
System.out.println(" .8.\t\t\t8 888888888o \t\t ,o88888o.");
System.out.println(" .888.\t\t8 8888 \'88.\t\t 8888 \'88.");
System.out.println(" :88888.\t\t8 8888 \'88\t\t,8 8888 \'8.");
System.out.println(" . \\88888.\t\t\t8 8888 ,88\t\t88 8888");
System.out.println(" .8. \\88888.\t\t8 8888. ,88\'\t\t88 8888");
System.out.println(" .8\'8. "\88888.\t\t8 8888888888 \t\t88 8888");
System.out.println(" .8\' \'8. \"88888.\t\t8 8888 \'88.\t\t88 8888");
System.out.println(" .8\' \'8. \\88888.\t\t8 8888 88\t\t\'8 8888 .8\'");
System.out.println(" .888888888. \\88888. \t\t8 8888 ,88\'\t\t 8888 ,88\'");
System.out.println(".8\' \'8. \\88888.\t\t8 888888888P \t\t \'8888888P\"");
thanks
- 02-15-2010, 08:10 AM #2
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 7
Similar Threads
-
Escape Sequence
By Punter in forum New To JavaReplies: 4Last Post: 02-10-2009, 07:04 AM -
Using escape sequence with like clause (%)
By Java Tip in forum Java TipReplies: 0Last Post: 02-14-2008, 09:57 AM -
Using escape sequence with like clause (_)
By Java Tip in forum Java TipReplies: 0Last Post: 02-14-2008, 09:55 AM -
Escape sequence problem
By eva in forum New To JavaReplies: 2Last Post: 01-21-2008, 10:15 PM -
Frog Escape 0.0.1 alpha
By JavaBean in forum Java SoftwareReplies: 0Last Post: 07-14-2007, 08:26 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks