{"action":"created","comment":{"url":"https://api.github.com/repos/cpe200-158-sec3/week-1/pulls/comments/37704684","id":37704684,"diff_hunk":"@@ -2,11 +2,12 @@\n * Read the code, understand it, think hard how it works.\n * Change the code such that it will accept a number from command line, then show the result.\n * Answer the questions below\n-\n+##Thanisorn Jundee 570611015\n # Questions\n * Why we need \"if-else\" in function process?\n \n-Answer:\n+Answer: because this program is factirial , to make code stable and run faster we also have if-else function to speed up code ","path":"Homework/Homework/Readme.md","position":10,"original_position":10,"commit_id":"74f0443490842e68b799e8caa541ff5208b16306","original_commit_id":"74f0443490842e68b799e8caa541ff5208b16306","user":{"login":"SupakornYu","id":6560459,"avatar_url":"https://avatars.githubusercontent.com/u/6560459?v=3","gravatar_id":"","url":"https://api.github.com/users/SupakornYu","html_url":"https://github.com/SupakornYu","followers_url":"https://api.github.com/users/SupakornYu/followers","following_url":"https://api.github.com/users/SupakornYu/following{/other_user}","gists_url":"https://api.github.com/users/SupakornYu/gists{/gist_id}","starred_url":"https://api.github.com/users/SupakornYu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SupakornYu/subscriptions","organizations_url":"https://api.github.com/users/SupakornYu/orgs","repos_url":"https://api.github.com/users/SupakornYu/repos","events_url":"https://api.github.com/users/SupakornYu/events{/privacy}","received_events_url":"https://api.github.com/users/SupakornYu/received_events","type":"User","site_admin":false},"body":"- \"factorial\" not factirial\r\n- to prevent infinite recursion is another one reasons.","created_at":"2015-08-23T10:39:16Z","updated_at":"2015-08-23T10:39:16Z","html_url":"https://github.com/cpe200-158-sec3/week-1/pull/3#discussion_r37704684","pull_request_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/cpe200-158-sec3/week-1/pulls/comments/37704684"},"html":{"href":"https://github.com/cpe200-158-sec3/week-1/pull/3#discussion_r37704684"},"pull_request":{"href":"https://api.github.com/repos/cpe200-158-sec3/week-1/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/cpe200-158-sec3/week-1/pulls/3","id":43009429,"html_url":"https://github.com/cpe200-158-sec3/week-1/pull/3","diff_url":"https://github.com/cpe200-158-sec3/week-1/pull/3.diff","patch_url":"https://github.com/cpe200-158-sec3/week-1/pull/3.patch","issue_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/issues/3","number":3,"state":"open","locked":false,"title":"Week 1 -OOP ","user":{"login":"stnmptw","id":7583345,"avatar_url":"https://avatars.githubusercontent.com/u/7583345?v=3","gravatar_id":"","url":"https://api.github.com/users/stnmptw","html_url":"https://github.com/stnmptw","followers_url":"https://api.github.com/users/stnmptw/followers","following_url":"https://api.github.com/users/stnmptw/following{/other_user}","gists_url":"https://api.github.com/users/stnmptw/gists{/gist_id}","starred_url":"https://api.github.com/users/stnmptw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stnmptw/subscriptions","organizations_url":"https://api.github.com/users/stnmptw/orgs","repos_url":"https://api.github.com/users/stnmptw/repos","events_url":"https://api.github.com/users/stnmptw/events{/privacy}","received_events_url":"https://api.github.com/users/stnmptw/received_events","type":"User","site_admin":false},"body":"570611015","created_at":"2015-08-21T07:00:55Z","updated_at":"2015-08-23T10:39:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8977e0a611bc241a04394bb5e20a675effbad29d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/pulls/3/commits","review_comments_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/pulls/3/comments","review_comment_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/issues/3/comments","statuses_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/statuses/74f0443490842e68b799e8caa541ff5208b16306","head":{"label":"stnmptw:master","ref":"master","sha":"74f0443490842e68b799e8caa541ff5208b16306","user":{"login":"stnmptw","id":7583345,"avatar_url":"https://avatars.githubusercontent.com/u/7583345?v=3","gravatar_id":"","url":"https://api.github.com/users/stnmptw","html_url":"https://github.com/stnmptw","followers_url":"https://api.github.com/users/stnmptw/followers","following_url":"https://api.github.com/users/stnmptw/following{/other_user}","gists_url":"https://api.github.com/users/stnmptw/gists{/gist_id}","starred_url":"https://api.github.com/users/stnmptw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stnmptw/subscriptions","organizations_url":"https://api.github.com/users/stnmptw/orgs","repos_url":"https://api.github.com/users/stnmptw/repos","events_url":"https://api.github.com/users/stnmptw/events{/privacy}","received_events_url":"https://api.github.com/users/stnmptw/received_events","type":"User","site_admin":false},"repo":{"id":40959403,"name":"week-1","full_name":"stnmptw/week-1","owner":{"login":"stnmptw","id":7583345,"avatar_url":"https://avatars.githubusercontent.com/u/7583345?v=3","gravatar_id":"","url":"https://api.github.com/users/stnmptw","html_url":"https://github.com/stnmptw","followers_url":"https://api.github.com/users/stnmptw/followers","following_url":"https://api.github.com/users/stnmptw/following{/other_user}","gists_url":"https://api.github.com/users/stnmptw/gists{/gist_id}","starred_url":"https://api.github.com/users/stnmptw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stnmptw/subscriptions","organizations_url":"https://api.github.com/users/stnmptw/orgs","repos_url":"https://api.github.com/users/stnmptw/repos","events_url":"https://api.github.com/users/stnmptw/events{/privacy}","received_events_url":"https://api.github.com/users/stnmptw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stnmptw/week-1","description":"Programming revisited","fork":true,"url":"https://api.github.com/repos/stnmptw/week-1","forks_url":"https://api.github.com/repos/stnmptw/week-1/forks","keys_url":"https://api.github.com/repos/stnmptw/week-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stnmptw/week-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stnmptw/week-1/teams","hooks_url":"https://api.github.com/repos/stnmptw/week-1/hooks","issue_events_url":"https://api.github.com/repos/stnmptw/week-1/issues/events{/number}","events_url":"https://api.github.com/repos/stnmptw/week-1/events","assignees_url":"https://api.github.com/repos/stnmptw/week-1/assignees{/user}","branches_url":"https://api.github.com/repos/stnmptw/week-1/branches{/branch}","tags_url":"https://api.github.com/repos/stnmptw/week-1/tags","blobs_url":"https://api.github.com/repos/stnmptw/week-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stnmptw/week-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stnmptw/week-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/stnmptw/week-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stnmptw/week-1/statuses/{sha}","languages_url":"https://api.github.com/repos/stnmptw/week-1/languages","stargazers_url":"https://api.github.com/repos/stnmptw/week-1/stargazers","contributors_url":"https://api.github.com/repos/stnmptw/week-1/contributors","subscribers_url":"https://api.github.com/repos/stnmptw/week-1/subscribers","subscription_url":"https://api.github.com/repos/stnmptw/week-1/subscription","commits_url":"https://api.github.com/repos/stnmptw/week-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/stnmptw/week-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/stnmptw/week-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/stnmptw/week-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/stnmptw/week-1/contents/{+path}","compare_url":"https://api.github.com/repos/stnmptw/week-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stnmptw/week-1/merges","archive_url":"https://api.github.com/repos/stnmptw/week-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stnmptw/week-1/downloads","issues_url":"https://api.github.com/repos/stnmptw/week-1/issues{/number}","pulls_url":"https://api.github.com/repos/stnmptw/week-1/pulls{/number}","milestones_url":"https://api.github.com/repos/stnmptw/week-1/milestones{/number}","notifications_url":"https://api.github.com/repos/stnmptw/week-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stnmptw/week-1/labels{/name}","releases_url":"https://api.github.com/repos/stnmptw/week-1/releases{/id}","created_at":"2015-08-18T08:14:32Z","updated_at":"2015-08-18T08:14:32Z","pushed_at":"2015-08-21T10:35:05Z","git_url":"git://github.com/stnmptw/week-1.git","ssh_url":"git@github.com:stnmptw/week-1.git","clone_url":"https://github.com/stnmptw/week-1.git","svn_url":"https://github.com/stnmptw/week-1","homepage":"","size":103,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cpe200-158-sec3:master","ref":"master","sha":"62bb5505488655eb0ab5c0afdb9f2196c98074e2","user":{"login":"cpe200-158-sec3","id":13805124,"avatar_url":"https://avatars.githubusercontent.com/u/13805124?v=3","gravatar_id":"","url":"https://api.github.com/users/cpe200-158-sec3","html_url":"https://github.com/cpe200-158-sec3","followers_url":"https://api.github.com/users/cpe200-158-sec3/followers","following_url":"https://api.github.com/users/cpe200-158-sec3/following{/other_user}","gists_url":"https://api.github.com/users/cpe200-158-sec3/gists{/gist_id}","starred_url":"https://api.github.com/users/cpe200-158-sec3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpe200-158-sec3/subscriptions","organizations_url":"https://api.github.com/users/cpe200-158-sec3/orgs","repos_url":"https://api.github.com/users/cpe200-158-sec3/repos","events_url":"https://api.github.com/users/cpe200-158-sec3/events{/privacy}","received_events_url":"https://api.github.com/users/cpe200-158-sec3/received_events","type":"Organization","site_admin":false},"repo":{"id":40796645,"name":"week-1","full_name":"cpe200-158-sec3/week-1","owner":{"login":"cpe200-158-sec3","id":13805124,"avatar_url":"https://avatars.githubusercontent.com/u/13805124?v=3","gravatar_id":"","url":"https://api.github.com/users/cpe200-158-sec3","html_url":"https://github.com/cpe200-158-sec3","followers_url":"https://api.github.com/users/cpe200-158-sec3/followers","following_url":"https://api.github.com/users/cpe200-158-sec3/following{/other_user}","gists_url":"https://api.github.com/users/cpe200-158-sec3/gists{/gist_id}","starred_url":"https://api.github.com/users/cpe200-158-sec3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpe200-158-sec3/subscriptions","organizations_url":"https://api.github.com/users/cpe200-158-sec3/orgs","repos_url":"https://api.github.com/users/cpe200-158-sec3/repos","events_url":"https://api.github.com/users/cpe200-158-sec3/events{/privacy}","received_events_url":"https://api.github.com/users/cpe200-158-sec3/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cpe200-158-sec3/week-1","description":"Programming revisited","fork":true,"url":"https://api.github.com/repos/cpe200-158-sec3/week-1","forks_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/forks","keys_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/teams","hooks_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/hooks","issue_events_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/issues/events{/number}","events_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/events","assignees_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/assignees{/user}","branches_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/branches{/branch}","tags_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/tags","blobs_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/statuses/{sha}","languages_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/languages","stargazers_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/stargazers","contributors_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/contributors","subscribers_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/subscribers","subscription_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/subscription","commits_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/contents/{+path}","compare_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/merges","archive_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/downloads","issues_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/issues{/number}","pulls_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/pulls{/number}","milestones_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/milestones{/number}","notifications_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/labels{/name}","releases_url":"https://api.github.com/repos/cpe200-158-sec3/week-1/releases{/id}","created_at":"2015-08-16T02:48:31Z","updated_at":"2015-08-16T02:48:31Z","pushed_at":"2015-08-21T11:47:17Z","git_url":"git://github.com/cpe200-158-sec3/week-1.git","ssh_url":"git@github.com:cpe200-158-sec3/week-1.git","clone_url":"https://github.com/cpe200-158-sec3/week-1.git","svn_url":"https://github.com/cpe200-158-sec3/week-1","homepage":"","size":628,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":27,"forks":34,"open_issues":27,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cpe200-158-sec3/week-1/pulls/3"},"html":{"href":"https://github.com/cpe200-158-sec3/week-1/pull/3"},"issue":{"href":"https://api.github.com/repos/cpe200-158-sec3/week-1/issues/3"},"comments":{"href":"https://api.github.com/repos/cpe200-158-sec3/week-1/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/cpe200-158-sec3/week-1/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/cpe200-158-sec3/week-1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cpe200-158-sec3/week-1/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/cpe200-158-sec3/week-1/statuses/74f0443490842e68b799e8caa541ff5208b16306"}}}}