Search:

Type: Posts; User: javapenguin

Search: Search took 0.54 seconds.

  1. Replies
    8
    Views
    1,606

    Re: Please help me clean up my code!

    #-o#-o#-o#-o#-o#-o#-o#-o#-o#-o#-o#-o

    I see what you're getting at.

    I knew that but somehow it didn't cross my mind.

    :">:">

    You can just
  2. Replies
    8
    Views
    1,606

    Re: Please help me clean up my code!

    Well...actually the if statement will return false if condition is met.

    I don't see how it'll just return true on its own.
  3. Replies
    8
    Views
    1,606

    Re: Please help me clean up my code!

    Looks good to me.
  4. Replies
    8
    Views
    1,606

    Re: Please help me clean up my code!

    It would seem that you're saying that it's supposed to return true if side1 + side2 = side3 and also return false

    if
    side1 + side2 = side3;

    I think it'll return true every time as that's what...
Results 1 to 4 of 4