File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes In java pls.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "In java pls.." Watch "In java pls.." New topic

In java pls..

cathy joaqs

Joined: Nov 14, 2004
Posts: 2
Hi guys,I want to write a program which prints '*' in a diamond shape.
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
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!


Java API Documentation
The Java Tutorial
Matt Fielder
Ranch Hand

Joined: Oct 27, 2004
Posts: 158
Sounds like you and surya sadhu are in the same class.
Fisher Daniel
Ranch Hand

Joined: Sep 14, 2001
Posts: 582
You can have the answer here

Hope this help
I agree. Here's the link:
subject: In java pls..
It's not a secret anymore!