Ask your own question, for FREE!
Computer Science 19 Online
OpenStudy (anonymous):

I'm totally lost on a java assignment. I'm supposed to create a rocketship ASCII art like below /**\ //**\\ ///**\\\ ////**\\\\ /////**\\\\\ +=*=*=*=*=*=*+ |../\..../\..| |./\/\../\/\.| |/\/\/\/\/\/\| |\/\/\/\/\/\/| |.\/\/..\/\/.| |..\/....\/..| +=*=*=*=*=*=*+ |\/\/\/\/\/\/| |.\/\/..\/\/.| |..\/....\/..| |../\..../\..| |./\/\../\/\.| |/\/\/\/\/\/\| +=*=*=*=*=*=*+ /**\ //**\\ ///**\\\ ////**\\\\ /////**\\\\\

OpenStudy (anonymous):

Sorry, I couldn't get the format to stay the same, but that's the general idea.

OpenStudy (e.mccormick):

OK.... so what about it is causing you problems? Several of the characters will need to be escaped or they will not print. Still, it is just a bunch of println statements, unless there is something I am missing.

OpenStudy (anonymous):

The main problem is that you have to use for loops and nested loops to do this. Also it asks for user input so it can become any size.

OpenStudy (e.mccormick):

Aah. OK. Yes, that would make a difference.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!