1. #62921
    Quote Originally Posted by Longview View Post
    holy fuck guys

    + 4
    What. Long.

    +4
    You will not be forgotten, Eleanor / Steam ID / DeviantArt page / YouTube / Twitter

  2. #62922
    i just saw crystal castles live four minutes from my apartment

    nightfury treann

    + 5

  3. #62923
    Warchief Wass's Avatar
    10+ Year Old Account
    Join Date
    Jan 2011
    Location
    PvP forums
    Posts
    2,239
    + 6

    Better go sleep before I (accidentally) die on Hardcore again.

    Night PvM
    Quote Originally Posted by Dyra View Post
    Because what they are atm are plait tugging, sniffing, glaring, prissy, clothes obsessed bitches who I would quite cheerfully drown.
    I often post from my mobile device, typos in my posts are 99% likely to be because of that.
    All I would ever want and need is a hug.

  4. #62924
    Deleted
    + 4

  5. #62925
    I am Murloc! Anakso's Avatar
    10+ Year Old Account
    Join Date
    Apr 2010
    Location
    Perth, Australia
    Posts
    5,020
    Quote Originally Posted by Wass View Post
    What project Ana?
    Sorry went to bed.

    Have to make a programme that reads in 3 numbers from the users that represent lines and says if it's an equilateral, scalene or isosceles triangle. It also needs to give an error message if the triangle can't exist. Like one side is far to big or something.

  6. #62926
    The Patient TehTiny's Avatar
    10+ Year Old Account
    Join Date
    Nov 2010
    Location
    Huntsville, Al
    Posts
    210
    I am about to have chicken alfredo. Jelly much?

  7. #62927
    Deleted
    + 3

  8. #62928
    That's a nasty program to start with

    + 4

  9. #62929
    Deleted
    + 2

  10. #62930
    Pit Lord Fallen Angel's Avatar
    10+ Year Old Account
    Join Date
    Nov 2009
    Location
    Haunting Vegeta
    Posts
    2,373
    + 3

  11. #62931
    Quote Originally Posted by Anakso View Post
    Sorry went to bed.

    Have to make a programme that reads in 3 numbers from the users that represent lines and says if it's an equilateral, scalene or isosceles triangle. It also needs to give an error message if the triangle can't exist. Like one side is far to big or something.
    what language is that?

    + 4

  12. #62932
    Bloodsail Admiral Decagon's Avatar
    10+ Year Old Account
    Join Date
    Jul 2012
    Location
    Unfortunately, Central Utah
    Posts
    1,100
    Quote Originally Posted by Anakso View Post
    Sorry went to bed.

    Have to make a programme that reads in 3 numbers from the users that represent lines and says if it's an equilateral, scalene or isosceles triangle. It also needs to give an error message if the triangle can't exist. Like one side is far to big or something.
    So like, just a bunch of if statements?

    Quote Originally Posted by dupti View Post
    Something.

  13. #62933
    Warchief Wass's Avatar
    10+ Year Old Account
    Join Date
    Jan 2011
    Location
    PvP forums
    Posts
    2,239
    Quote Originally Posted by Anakso View Post
    Sorry went to bed.

    Have to make a programme that reads in 3 numbers from the users that represent lines and says if it's an equilateral, scalene or isosceles triangle. It also needs to give an error message if the triangle can't exist. Like one side is far to big or something.
    In response to this quote and the other related posts by others (im in bed on the phone):

    The coding itself is really simple. What you need is to find the mathematical functions and implement them in ur code.

    I dont know what those three words mean but I could guess, and if my guess is correct then the task isnt hard.

    Equilateral => all sides are the same lenght right? Very simple to implement in code. If (a == b and b == c) //whatever u wanna return or print goes here.

    Ill google the other two quick.
    Quote Originally Posted by Dyra View Post
    Because what they are atm are plait tugging, sniffing, glaring, prissy, clothes obsessed bitches who I would quite cheerfully drown.
    I often post from my mobile device, typos in my posts are 99% likely to be because of that.
    All I would ever want and need is a hug.

  14. #62934
    + 5

    Sometimes I wish the English terms for math stuff wouldn't be so different from the Dutch terms.. that post sounds all gibberish to me right now

  15. #62935
    Deleted
    + 3

  16. #62936
    if its c++ just like

    Code:
    if(side1==side2 && side2==side3)
    {
    cout << "equilateral triangle yo";
    }
    else if(side1==side2 || side2==side3 || side1=side3)
    {
    cout << "isosceles triangle yo";
    }
    else if(side1!=side2 && side2!=side3 && side1!=side3)
    {
    cout << "scalene triangle comin yo";
    }
    you should probably add an if-parameter for checking if the values are valid (just uh.. if(side1<0 || side2<0 || side3<0) or something)

    i think thats how it works i took c++ in high school so its rusty

    + 4

  17. #62937
    Bloodsail Admiral Decagon's Avatar
    10+ Year Old Account
    Join Date
    Jul 2012
    Location
    Unfortunately, Central Utah
    Posts
    1,100
    Quote Originally Posted by Wass View Post
    In response to this quote and the other related posts by others (im in bed on the phone):

    The coding itself is really simple. What you need is to find the mathematical functions and implement them in ur code.

    I dont know what those three words mean but I could guess, and if my guess is correct then the task isnt hard.

    Equilateral => all sides are the same lenght right? Very simple to implement in code. If (a == b and b == c) //whatever u wanna return or print goes here.

    Ill google the other two quick.
    Equilateral = all sides are equal
    Isosceles = 2 sides equal (generally, equilateral triangles are considered to be isosceles as well)
    Scalene = all sides different

    Also, to be a triangle, the sum of the two smaller sides must be larger than the hypotenuse (the big side), i.e. X + Y > Z, where X and Y are sides, Z is the hypotenuse.

    Quote Originally Posted by dupti View Post
    Something.

  18. #62938
    Warchief Wass's Avatar
    10+ Year Old Account
    Join Date
    Jan 2011
    Location
    PvP forums
    Posts
    2,239
    Yeah I was right.

    For scalene:
    if (a==b and a!=c or a==c and a!=b or b==c and b!=a) //return scalene

    If it wont work with so many ands and ors just use an else if for each.

    As for the last one:

    if (a!=b and b!=c and a!=c) //return isosceles

    Note that all three need to be compare to another. Just because b is not equal to a doesnt mean that c is not equal to a because it is not equal to b.

    Id love to type it out more clearly but phone...

    ---------- Post added 2013-03-07 at 02:22 AM ----------

    Long is pretty much on spot. Except you probably need to check the last side on the scalene one aswell.
    Quote Originally Posted by Dyra View Post
    Because what they are atm are plait tugging, sniffing, glaring, prissy, clothes obsessed bitches who I would quite cheerfully drown.
    I often post from my mobile device, typos in my posts are 99% likely to be because of that.
    All I would ever want and need is a hug.

  19. #62939
    code \o/



    +5

  20. #62940
    Warchief Wass's Avatar
    10+ Year Old Account
    Join Date
    Jan 2011
    Location
    PvP forums
    Posts
    2,239
    Ana if u get problems with it, just shout. Ill look back when I wake up again. Gonna sleep now. Night PvM.
    Quote Originally Posted by Dyra View Post
    Because what they are atm are plait tugging, sniffing, glaring, prissy, clothes obsessed bitches who I would quite cheerfully drown.
    I often post from my mobile device, typos in my posts are 99% likely to be because of that.
    All I would ever want and need is a hug.

Posting Permissions

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