• Post Reply Bookmark Topic Watch Topic
  • New Topic

analyze shape  RSS feed

 
Juan Villena
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone, I need some help about this particular program
concisting in analyze the type of shape and output the shape : "("Tree", 8,"*")

I was thinking to create a loop and checking if the first character is blank or
checking the new line to to figure it out the height of the shape and compare it...
Any help, very confusing...
thanks

JUan Villena

 
fred rosenberger
lowercase baba
Bartender
Posts: 12565
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first thing you should do is get some paper, a pencil, and probably an eraser. Write out how YOU would analyze the shape - no java allowed. How would you tell someone else how to recognize the shapes?

Only when you're done with that should you even consider writing any code.
 
Juan Villena
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thats what i am doing now, ...
I will post my new code soon... i just want to get more ideas from you

Juan Villena
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!