how i can

how i can do this ********** ********* ******** ******* ***** ********* *but decreasing from the left
[179 byte] By [Ravensa] at [2007-11-26 23:48:28]
# 1
You can use a for loop to iterate how many types you want the asterisk to be printed. Then on every iteration, print the asterisk on a new line.Or you can use recursion(Setting up a method to call itself as many times as needed or until you run out of memory)
lethalwirea at 2007-7-11 15:24:06 > top of Java-index,Java Essentials,New To Java...
# 2
loopprint x number of spacesprint y number of asterisksincrement spacesdecrement asterisks}
floundera at 2007-7-11 15:24:06 > top of Java-index,Java Essentials,New To Java...
# 3
http://onesearch.sun.com/search/onesearch/index.jsp?qt=print+star&charset=utf-8&col=community-all&rt=true&cs=false&y=0&x=0This question has been asked for many many times.You can find a lot of examples there.
rym82a at 2007-7-11 15:24:06 > top of Java-index,Java Essentials,New To Java...