Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Need a program using only for loop its urgent

  1. #1
    Junior Member
    Join Date
    Jan 2011
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Need a program using only for loop its urgent

    Hi all,

    I need a program to create a diamond shape using only "for loop" . The shape is given below


    *
    **
    ***
    ****
    ***
    **
    *
    like this please give me the sample program to solve this . its urgent. please help me out


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,237
    Thanks
    176
    Thanked 817 Times in 760 Posts
    Blog Entries
    5

    Default Re: Need a program using only for loop its urgent

    What have you done? Did you search the forums? Its easy, and returns valuable posts like this one: asterisk forming diamond
    Suggested reading:
    How to ask questions
    in particular
    Marking threads as urgent

  3. #3
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 287 Times in 225 Posts
    Blog Entries
    4

    Default Re: Need a program using only for loop its urgent

    I suggest searching the forums. This has been answered about 20 times..
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

    Looking for a Java job? Visit - Java Programming Careers

Similar Threads

  1. urgent simple help for a very simple program
    By albukhari87 in forum Java Applets
    Replies: 4
    Last Post: June 5th, 2010, 03:43 PM
  2. HELP URGENT!!
    By macx234 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 30th, 2010, 08:41 PM
  3. Need Urgent Help
    By sonai4u in forum Threads
    Replies: 2
    Last Post: February 13th, 2010, 07:24 PM
  4. Urgent Help
    By pb60704 in forum Web Frameworks
    Replies: 7
    Last Post: December 1st, 2009, 02:27 AM
  5. Average program with array and loop and JOptionPane.
    By jeremykatz in forum AWT / Java Swing
    Replies: 6
    Last Post: October 25th, 2009, 02:33 PM