Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

In java pls..

 
cathy joaqs
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,I want to write a program which prints '*' in a diamond shape.
thanks
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you done so far? This sounds a lot like a homework assignment, and it seems someone else in your class is asking for help with it, too. If you post your own ideas about how to get started, there are a lot of people here that will be more than willing to help clarify any parts you don't understand.

As a hint, you will probably need to use a for loop, or even a couple of nested for loops.

I hope you come back with some specific questions. Feel free to post short snippets of code as well as compiler errors or any other information that will describe the problems you encounter along the way.

Good Luck and Keep Coding!

Layne
 
Matt Fielder
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like you and surya sadhu are in the same class.
 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You can have the answer here

Hope this help
daniel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic