{"comment":{"url":"https://api.github.com/repos/jarlhasen/c-lang/comments/30396166","html_url":"https://github.com/jarlhasen/c-lang/commit/ad83929331dd8445c16979d614e392bcc17dab63#commitcomment-30396166","id":30396166,"node_id":"MDEzOkNvbW1pdENvbW1lbnQzMDM5NjE2Ng==","user":{"login":"jarlhasen","id":39466538,"node_id":"MDQ6VXNlcjM5NDY2NTM4","avatar_url":"https://avatars2.githubusercontent.com/u/39466538?v=4","gravatar_id":"","url":"https://api.github.com/users/jarlhasen","html_url":"https://github.com/jarlhasen","followers_url":"https://api.github.com/users/jarlhasen/followers","following_url":"https://api.github.com/users/jarlhasen/following{/other_user}","gists_url":"https://api.github.com/users/jarlhasen/gists{/gist_id}","starred_url":"https://api.github.com/users/jarlhasen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarlhasen/subscriptions","organizations_url":"https://api.github.com/users/jarlhasen/orgs","repos_url":"https://api.github.com/users/jarlhasen/repos","events_url":"https://api.github.com/users/jarlhasen/events{/privacy}","received_events_url":"https://api.github.com/users/jarlhasen/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"ad83929331dd8445c16979d614e392bcc17dab63","created_at":"2018-09-05T07:04:19Z","updated_at":"2018-09-05T07:04:19Z","author_association":"OWNER","body":"#include\"stdio.h\"\r\nint main()\r\n{\r\n       int year,month,day,sum,leap;\r\n       printf(\"\\n please input year, month, day.\");\r\n       scanf(\"%d,%d,%d\",year,month,day);\r\n        sweech(month)\r\n       {\r\n         case 1:\r\n            sum=0;\r\n            break;\r\n        case 2:\r\n            sum=31;\r\n            break;\r\n        case 3:\r\n            sum=59;\r\n            break;\r\n        case 4:\r\n            sum=90;\r\n            break;\r\n        case 5:\r\n            sum=120;\r\n            break;\r\n        case 6:\r\n            sum=151;\r\n            break;\r\n        case 7:\r\n            sum=181;\r\n            break;\r\n        case 8:\r\n            sum=212;\r\n            break;\r\n        case 9:\r\n            sum=243;\r\n       break;\r\n        case 10:\r\n            sum=273;\r\n            break;\r\n        case 11:\r\n            sum=304;\r\n            break;\r\n        case 12:\r\n            sum=334;\r\n        default:\r\n            break;\r\n}\r\n        sum = sum + day;\r\n        if (year %d400==0 || (year%4==0 && year % 100!=0))\r\n      leap = 1;\r\n      else\r\n      leap = 0;\r\n       if(leap = 1 && month >2)\r\n       sum++;\r\n       printf(\"it is the %d the day of the year.\");\r\n}"}}
{"actor":{"display_login":"jarlhasen"}}