There are an infinite number of ways to get 180 from two numbers, if we count decimals and fractions as well as other real numbers; but if we are limited to positive integers greater than zero and just the sum of two of them, we are limited to x and 180-x. If we also exclude 90+90 because the numbers are the same, then we have 1 to 89 combined with 179 to 91, which is 89 pairs.
Moving on to the sum of three different numbers, let's make 1 plus another two different numbers adding up to 179. So we have 2+177, 3+176, ..., 87+92, 88+91, 89+90, which is 88 groups combined with 1. Move on to 2 plus another two different numbers adding up to 178: 3+175, ..., 87+91, 88+90, which is 86 groups. Then we move on to 3 plus 177: 4+173, ..., 86+91, 87+90, 88+89, 85 groups. And so on, with reducing numbers, until we get to 59, 60 and 61.
Let's divide the numbers into two groups A and B. In A we start with 1 and in B we put 2 and (180-A-B)=177 as a pair (2,177). Then we put the next pair in group B: (3,176), then (4,175) and keep going till we have used up all the numbers, ending up with (88,90). Then we count how many pairs there are in group B and pair it up with the number in group A, so we start with (1,88) which covers all the combinations of numbers in group B.
Now we move to 2 in group A, put all the pairs adding up to 178 in group B, and finally put the count of these pairs with 2 in group A: (2,86). We then move on to 3, and so on, putting in the counts to make up the number pair in group A.
When we've finished by putting the last count in group A, which is (59,1), we can forget about group B and look at the pattern in group A. What we see is this: (1,88), (2,86), (3,85), (4,83), (5,82), (6,80), (7,79), ... See how the counts come in pairs with a gap? All the multiples of 3 are missing in the counts sequence (e.g., 87, 84, 81). We find there are 29 pairs and one odd count, 88, which is unpaired. Number the pairs 0 to 28 and refer to the pair number as N. Add the counts in the pairs together so we start with pair 0 as 86+85=171, pair 1 as 165, pair 2 as 159, and so on. The sequence 171, 165, 159, ..., 3 is an arithmetic sequence with a start of 171 and a difference of 6 between each term in the sequence. [Note also that the terms in the series are all multiples of 3: 3*57, 3*55, 3*55, ...]
The rule for the Nth term is 171-6N. When N=0 we have the first term 171 and when N=28 the last term is 3. There is one more term at the end which is unpaired made up of the numbers 59, 60 and 61. We can combine this with the unpaired (1,88). We can find the sum of the terms in the series, which will tell us how many ways there are of adding three different integers so that their sum is 180 (like the sum of the angles of a triangle).
To find the sum of the terms of the series we note that there are 29 terms (0 to 28) and they all contain 171, so that's 171*29=4959. We also have to subtract 6(0+1+2+3+...+28)=6*28*29/2=2436. So 4959-2436=2523. [The sum of the series is also 3(57+55+53+...+5+3+1)=2523.] To this we add the "odd couple" 88+1=89 and 2523+89=2612. Add also the 89 which is the number of pairs of integers adding up to 180 we calculated at the beginning. The total so far is 2612+89=2701 ways of adding 2 or 3 positive integers so that their sum is 180.
If you want to go further, please feel free to do so!