Cody

# Problem 2890. Interior angles

Solution 1251201

Submitted on 14 Aug 2017 by Rafael Hernandez-Walls
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
x = 1; y_correct =0; assert(isequal(angles(x),y_correct))

2   Pass
x=2 y_correct =0; assert(isequal(angles(x),y_correct))

x = 2

3   Pass
x=3; y_correct =180; assert(isequal(angles(x),y_correct))

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
{"ft_lang_label":"__label__en","ft_lang_prob":0.57690215,"math_prob":0.8954061,"size":552,"snap":"2020-45-2020-50","text_gpt3_token_len":160,"char_repetition_ratio":0.14963503,"word_repetition_ratio":0.0,"special_character_ratio":0.3097826,"punctuation_ratio":0.12149533,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98868585,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-22T18:05:30Z\",\"WARC-Record-ID\":\"<urn:uuid:4dcaf8ee-0855-42c1-8065-6395dac4d748>\",\"Content-Length\":\"79365\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:e9ff401e-c11d-44e9-91c2-cde66b45d872>\",\"WARC-Concurrent-To\":\"<urn:uuid:d8dc0a00-d4d9-4280-ba9c-7f433dc1a243>\",\"WARC-IP-Address\":\"184.24.72.83\",\"WARC-Target-URI\":\"https://au.mathworks.com/matlabcentral/cody/problems/2890-interior-angles/solutions/1251201\",\"WARC-Payload-Digest\":\"sha1:JNTCMADJDH4Z32FONZSTMOKGS4W4FFRD\",\"WARC-Block-Digest\":\"sha1:WI7XHNXSQH3YTGKP2JODBLU6O23UHPD2\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107880014.26_warc_CC-MAIN-20201022170349-20201022200349-00191.warc.gz\"}"}