Results 1 to 8 of 8
  1. #1
    Settz is offline Member
    Join Date
    Nov 2011
    Location
    California
    Posts
    4
    Rep Power
    0

    Default How to Make Upside Down Triangle Filled In?

    So I'm doing a project in Java for my girlfriend because it's her birthday.

    In a part of the project I'm making a Turkey.. I'm just using ovals for the head and eyes.

    I'm trying to make the beak and it's going to be an upside down filled in yellow triangle.

    How do I make that please? :)

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,798
    Rep Power
    7

    Default Re: How to Make Upside Down Triangle Filled In?

    Same way as all the other Pattern/Shape assignments. Work out how many characters and how many spaces are needed for each line. There should be a pattern. Then use one or more loops to implement that pattern.

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: How to Make Upside Down Triangle Filled In?

    Nice try. Please do your own homework and don't dump it in the forum. I don't mind helping out on homework, but your bald-faced lie about "helping your girlfriend" when you don't have a clue is just idiotic.

  4. #4
    Settz is offline Member
    Join Date
    Nov 2011
    Location
    California
    Posts
    4
    Rep Power
    0

    Default Re: How to Make Upside Down Triangle Filled In?

    When did I ever say I was helping my girlfriend?

    I'm taking Java 1 in my school and we just learned how to do graphics, I was just trying to make her something using Java cause I thought it would look neat...
    Please don't go bashing on me personally when all I asked was how to make an upside down triangle filled in.. -__-

  5. #5
    Settz is offline Member
    Join Date
    Nov 2011
    Location
    California
    Posts
    4
    Rep Power
    0

    Default Re: How to Make Upside Down Triangle Filled In?

    Thank you! I didn't think of using a loop.

  6. #6
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,798
    Rep Power
    7

    Default Re: How to Make Upside Down Triangle Filled In?

    Quote Originally Posted by Settz View Post
    When did I ever say I was helping my girlfriend?

    I'm taking Java 1 in my school and we just learned how to do graphics, I was just trying to make her something using Java cause I thought it would look neat...
    Please don't go bashing on me personally when all I asked was how to make an upside down triangle filled in.. -__-
    Excuse our cynicism but 99.9999999999% of the time when people say "I'm doing this for ... and it isn't homework" or variations of the same, it is complete BS.

  7. #7
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: How to Make Upside Down Triangle Filled In?

    And this I'm afraid is in that 99.99999999%. If you're honest with us, we'll help. Just admit that this is homework and be done with it.

  8. #8
    Settz is offline Member
    Join Date
    Nov 2011
    Location
    California
    Posts
    4
    Rep Power
    0

    Default Re: How to Make Upside Down Triangle Filled In?

    Quote Originally Posted by Fubarable View Post
    And this I'm afraid is in that 99.99999999%. If you're honest with us, we'll help. Just admit that this is homework and be done with it.
    Okay I'll be honest with you.

    I'm making a cool animation for my girlfriends birthday because I want to show off what I can do with Java.
    I enjoy making different things with java, it's honestly pretty cool.
    All I asked was how to make an upside down triangle. (You didn't even help by the way, hahaha.)
    I understand people lie about homework and stuff like that but don't assume. Please.

    Thanks Junky for actually answering my question.

Similar Threads

  1. Upside down Triangle pattern
    By JayP in forum New To Java
    Replies: 9
    Last Post: 06-06-2011, 05:46 AM
  2. BufferedImage flips the chart upside down
    By sg3232 in forum Java 2D
    Replies: 0
    Last Post: 02-10-2011, 08:46 PM
  3. Help! How to make triangle with java
    By java greek in forum JCreator
    Replies: 1
    Last Post: 09-07-2009, 02:15 PM
  4. Help! How to make triangle with java
    By java greek in forum New To Java
    Replies: 4
    Last Post: 09-07-2009, 02:09 PM
  5. [SOLVED] How do I make a triangle?
    By Zebra in forum Java Applets
    Replies: 6
    Last Post: 05-20-2008, 02:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •