Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:it was an outsourced product to begin with (Score 1) 162

huh they don't know 180-360/n?

they interviewed some seriously stupid people.

Yes that'll work if you want a negative result.

Huh? you need to work on your operator precidence.
Division before subtraction.

3 sides
180 - 360/3 = 180 -120 = 60

4 sides
180 - 360/4 = 180 - 90 = 90

5 sides
180 - 360/5 = 180 -72 = 108

6 sides
180 - 360/6 = 180 - 60 = 120

The formula is based on the fact that the external angles add up to 360 degrees, and the internal angle is 180 - the external angle.
Clearly the formula goes wrong for n=1 or n=2, but those are not valid shapes anyway.

Slashdot Top Deals

FORTRAN is not a flower but a weed -- it is hardy, occasionally blooms, and grows in every computer. -- A.J. Perlis

Working...