• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Printing from Bottom to Top

 
Yasith Vidanaarachchi
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is there any way to print some characters from bottom to top, If there is a way can you please explain me how to print in the command prompt like that.

Yasith Vidanaarachchi


[ May 24, 2005: Message edited by: Yasith Vidanaarachchi ]
[ May 25, 2005: Message edited by: Yasith Vidanaarachchi ]
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you just want to output characters in that way:
d
c
b
a
?
 
Yasith Vidanaarachchi
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thank you Stefan for sending a reply.What I really want to do is to print some characters and then whan you press a key those characters must be printed by the side of the characters which were printed at first.

------------------------------------------------------------------------------

aaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbb

[first characters] [second characters]

----------------------------------------------------------------------------

This is my problem if you think of a way to do it please add a reply.(for the problem that I have to solve, it will be esier for me if you find a way to print from bottom to top rather than from top to bottom)

Yasith Vidanaarachchi

[ May 25, 2005: Message edited by: Yasith Vidanaarachchi ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic