• Post Reply Bookmark Topic Watch Topic
  • New Topic

Incrementing tabs in java  RSS feed

 
ms raaghu
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How can i increment the tabs or spaces in java.. i.e. say first i need to print "A" with 4 tabs then same with 3 tabs and so on

please suggest
 
Ashish Schottky
Ranch Hand
Posts: 93
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@ms raghu: Hint here.. use a for loop.
State your problem completely if you want more help, also mention if its an assignment.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!