trying to print an image using recusion
/*
* prog1.java
*
* Created on December 12, 2006, 1:21 AM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
/**
*
* @author Compaq_Administrator
*/
publicclass prog1{
/** Creates a new instance of prog1 */
public prog1(){
}
/**
* @param args the command line arguments
*/
publicstaticvoid main(String[] args){
int n;
for (int count = 1; count <= 6; count++){
n = count;
if (n = 1)
System.out.println("*");
if (n = 2)
System.out.println("**");
if (n = 3)
System.out.println("***");
if (n = 4)
System.out.println("****");
if (n = 5)
System.out.println("*****");
}
}
it says found in required boolean is there anyways to make this print out
*
**
***
****
*****
or am i far from what im looking to do?
Thanks,
Tom
[1940 byte] By [
tk3445a] at [2007-11-26 12:19:28]

# 6
> I need help to fine out the use of recursion of a
> problem in which recursion provides an efficient
> solution, and another problem in which it would be
> inappropriate to use recusion.
I need to find out why you hijacked this thread with your post rather than starting a new thread for your question. I also have a problem in understanding what effort you have done so far other than blithely post the gist of your homework assignment into this hijacked thread.
Eagerly awaiting your urgent reply,
Cotton
# 8
> For shame, cotton. Haven't you figured out that this
> is one nitwit
> going through and reviving old threads to troll?
> He's hit a bunch
> n the last <short time frame>.
If only this were true. But experience tells me it isn't. :(
[url=http://www.google.com/search?hl=en&q=worlds+shitest+thread]http://www.google.com/search?hl=en&q=worlds+shitest+thread[/url]