{"action":"created","comment":{"url":"https://api.github.com/repos/CPRO-Session1/Assignment2/pulls/comments/69186489","id":69186489,"diff_hunk":"@@ -0,0 +1,28 @@\n+//Bettina Benitez\n+#include <stdio.h>\n+#include <stdlib.h>\n+#include <time.h>\n+\n+int main() {\n+\tsrand(time(0));\n+\tint r = rand () % 11; //picks a random number between 0 and 10 (11 numbers)","path":"randnum.c","position":8,"original_position":8,"commit_id":"de8090c22709f4e59cb1464068484e3c1fb1db98","original_commit_id":"de8090c22709f4e59cb1464068484e3c1fb1db98","user":{"login":"lesley2958","id":9807841,"avatar_url":"https://avatars.githubusercontent.com/u/9807841?v=3","gravatar_id":"","url":"https://api.github.com/users/lesley2958","html_url":"https://github.com/lesley2958","followers_url":"https://api.github.com/users/lesley2958/followers","following_url":"https://api.github.com/users/lesley2958/following{/other_user}","gists_url":"https://api.github.com/users/lesley2958/gists{/gist_id}","starred_url":"https://api.github.com/users/lesley2958/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesley2958/subscriptions","organizations_url":"https://api.github.com/users/lesley2958/orgs","repos_url":"https://api.github.com/users/lesley2958/repos","events_url":"https://api.github.com/users/lesley2958/events{/privacy}","received_events_url":"https://api.github.com/users/lesley2958/received_events","type":"User","site_admin":false},"body":"You were incredibly close! The range needed to be from 1 to 10, but it included 0. To fix this, you could have done int r = rand()%10 +1; Either way, you were on the right track to doing this efficiently. Nice commenting, also!","created_at":"2016-06-30T18:35:25Z","updated_at":"2016-06-30T18:35:25Z","html_url":"https://github.com/CPRO-Session1/Assignment2/pull/16#discussion_r69186489","pull_request_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment2/pulls/comments/69186489"},"html":{"href":"https://github.com/CPRO-Session1/Assignment2/pull/16#discussion_r69186489"},"pull_request":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment2/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/CPRO-Session1/Assignment2/pulls/16","id":75758834,"html_url":"https://github.com/CPRO-Session1/Assignment2/pull/16","diff_url":"https://github.com/CPRO-Session1/Assignment2/pull/16.diff","patch_url":"https://github.com/CPRO-Session1/Assignment2/pull/16.patch","issue_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/issues/16","number":16,"state":"open","locked":false,"title":"Bettina Benitez Assignment2","user":{"login":"bettinabenitez","id":20172575,"avatar_url":"https://avatars.githubusercontent.com/u/20172575?v=3","gravatar_id":"","url":"https://api.github.com/users/bettinabenitez","html_url":"https://github.com/bettinabenitez","followers_url":"https://api.github.com/users/bettinabenitez/followers","following_url":"https://api.github.com/users/bettinabenitez/following{/other_user}","gists_url":"https://api.github.com/users/bettinabenitez/gists{/gist_id}","starred_url":"https://api.github.com/users/bettinabenitez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bettinabenitez/subscriptions","organizations_url":"https://api.github.com/users/bettinabenitez/orgs","repos_url":"https://api.github.com/users/bettinabenitez/repos","events_url":"https://api.github.com/users/bettinabenitez/events{/privacy}","received_events_url":"https://api.github.com/users/bettinabenitez/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-30T04:33:28Z","updated_at":"2016-06-30T18:35:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b49fe5283bba3898c4aa43225001217f1ad1ec98","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/pulls/16/commits","review_comments_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/pulls/16/comments","review_comment_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/issues/16/comments","statuses_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/statuses/de8090c22709f4e59cb1464068484e3c1fb1db98","head":{"label":"bettinabenitez:master","ref":"master","sha":"de8090c22709f4e59cb1464068484e3c1fb1db98","user":{"login":"bettinabenitez","id":20172575,"avatar_url":"https://avatars.githubusercontent.com/u/20172575?v=3","gravatar_id":"","url":"https://api.github.com/users/bettinabenitez","html_url":"https://github.com/bettinabenitez","followers_url":"https://api.github.com/users/bettinabenitez/followers","following_url":"https://api.github.com/users/bettinabenitez/following{/other_user}","gists_url":"https://api.github.com/users/bettinabenitez/gists{/gist_id}","starred_url":"https://api.github.com/users/bettinabenitez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bettinabenitez/subscriptions","organizations_url":"https://api.github.com/users/bettinabenitez/orgs","repos_url":"https://api.github.com/users/bettinabenitez/repos","events_url":"https://api.github.com/users/bettinabenitez/events{/privacy}","received_events_url":"https://api.github.com/users/bettinabenitez/received_events","type":"User","site_admin":false},"repo":{"id":62251278,"name":"Assignment2","full_name":"bettinabenitez/Assignment2","owner":{"login":"bettinabenitez","id":20172575,"avatar_url":"https://avatars.githubusercontent.com/u/20172575?v=3","gravatar_id":"","url":"https://api.github.com/users/bettinabenitez","html_url":"https://github.com/bettinabenitez","followers_url":"https://api.github.com/users/bettinabenitez/followers","following_url":"https://api.github.com/users/bettinabenitez/following{/other_user}","gists_url":"https://api.github.com/users/bettinabenitez/gists{/gist_id}","starred_url":"https://api.github.com/users/bettinabenitez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bettinabenitez/subscriptions","organizations_url":"https://api.github.com/users/bettinabenitez/orgs","repos_url":"https://api.github.com/users/bettinabenitez/repos","events_url":"https://api.github.com/users/bettinabenitez/events{/privacy}","received_events_url":"https://api.github.com/users/bettinabenitez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bettinabenitez/Assignment2","description":"Assignment 2","fork":true,"url":"https://api.github.com/repos/bettinabenitez/Assignment2","forks_url":"https://api.github.com/repos/bettinabenitez/Assignment2/forks","keys_url":"https://api.github.com/repos/bettinabenitez/Assignment2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bettinabenitez/Assignment2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bettinabenitez/Assignment2/teams","hooks_url":"https://api.github.com/repos/bettinabenitez/Assignment2/hooks","issue_events_url":"https://api.github.com/repos/bettinabenitez/Assignment2/issues/events{/number}","events_url":"https://api.github.com/repos/bettinabenitez/Assignment2/events","assignees_url":"https://api.github.com/repos/bettinabenitez/Assignment2/assignees{/user}","branches_url":"https://api.github.com/repos/bettinabenitez/Assignment2/branches{/branch}","tags_url":"https://api.github.com/repos/bettinabenitez/Assignment2/tags","blobs_url":"https://api.github.com/repos/bettinabenitez/Assignment2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bettinabenitez/Assignment2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bettinabenitez/Assignment2/git/refs{/sha}","trees_url":"https://api.github.com/repos/bettinabenitez/Assignment2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bettinabenitez/Assignment2/statuses/{sha}","languages_url":"https://api.github.com/repos/bettinabenitez/Assignment2/languages","stargazers_url":"https://api.github.com/repos/bettinabenitez/Assignment2/stargazers","contributors_url":"https://api.github.com/repos/bettinabenitez/Assignment2/contributors","subscribers_url":"https://api.github.com/repos/bettinabenitez/Assignment2/subscribers","subscription_url":"https://api.github.com/repos/bettinabenitez/Assignment2/subscription","commits_url":"https://api.github.com/repos/bettinabenitez/Assignment2/commits{/sha}","git_commits_url":"https://api.github.com/repos/bettinabenitez/Assignment2/git/commits{/sha}","comments_url":"https://api.github.com/repos/bettinabenitez/Assignment2/comments{/number}","issue_comment_url":"https://api.github.com/repos/bettinabenitez/Assignment2/issues/comments{/number}","contents_url":"https://api.github.com/repos/bettinabenitez/Assignment2/contents/{+path}","compare_url":"https://api.github.com/repos/bettinabenitez/Assignment2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bettinabenitez/Assignment2/merges","archive_url":"https://api.github.com/repos/bettinabenitez/Assignment2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bettinabenitez/Assignment2/downloads","issues_url":"https://api.github.com/repos/bettinabenitez/Assignment2/issues{/number}","pulls_url":"https://api.github.com/repos/bettinabenitez/Assignment2/pulls{/number}","milestones_url":"https://api.github.com/repos/bettinabenitez/Assignment2/milestones{/number}","notifications_url":"https://api.github.com/repos/bettinabenitez/Assignment2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bettinabenitez/Assignment2/labels{/name}","releases_url":"https://api.github.com/repos/bettinabenitez/Assignment2/releases{/id}","deployments_url":"https://api.github.com/repos/bettinabenitez/Assignment2/deployments","created_at":"2016-06-29T19:11:21Z","updated_at":"2016-06-30T03:48:30Z","pushed_at":"2016-06-30T13:49:32Z","git_url":"git://github.com/bettinabenitez/Assignment2.git","ssh_url":"git@github.com:bettinabenitez/Assignment2.git","clone_url":"https://github.com/bettinabenitez/Assignment2.git","svn_url":"https://github.com/bettinabenitez/Assignment2","homepage":"","size":6,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"CPRO-Session1:master","ref":"master","sha":"aae35ac6869552f89d88fb85b944f64a4f4695cc","user":{"login":"CPRO-Session1","id":20168755,"avatar_url":"https://avatars.githubusercontent.com/u/20168755?v=3","gravatar_id":"","url":"https://api.github.com/users/CPRO-Session1","html_url":"https://github.com/CPRO-Session1","followers_url":"https://api.github.com/users/CPRO-Session1/followers","following_url":"https://api.github.com/users/CPRO-Session1/following{/other_user}","gists_url":"https://api.github.com/users/CPRO-Session1/gists{/gist_id}","starred_url":"https://api.github.com/users/CPRO-Session1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CPRO-Session1/subscriptions","organizations_url":"https://api.github.com/users/CPRO-Session1/orgs","repos_url":"https://api.github.com/users/CPRO-Session1/repos","events_url":"https://api.github.com/users/CPRO-Session1/events{/privacy}","received_events_url":"https://api.github.com/users/CPRO-Session1/received_events","type":"Organization","site_admin":false},"repo":{"id":62151162,"name":"Assignment2","full_name":"CPRO-Session1/Assignment2","owner":{"login":"CPRO-Session1","id":20168755,"avatar_url":"https://avatars.githubusercontent.com/u/20168755?v=3","gravatar_id":"","url":"https://api.github.com/users/CPRO-Session1","html_url":"https://github.com/CPRO-Session1","followers_url":"https://api.github.com/users/CPRO-Session1/followers","following_url":"https://api.github.com/users/CPRO-Session1/following{/other_user}","gists_url":"https://api.github.com/users/CPRO-Session1/gists{/gist_id}","starred_url":"https://api.github.com/users/CPRO-Session1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CPRO-Session1/subscriptions","organizations_url":"https://api.github.com/users/CPRO-Session1/orgs","repos_url":"https://api.github.com/users/CPRO-Session1/repos","events_url":"https://api.github.com/users/CPRO-Session1/events{/privacy}","received_events_url":"https://api.github.com/users/CPRO-Session1/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CPRO-Session1/Assignment2","description":"Assignment 2","fork":false,"url":"https://api.github.com/repos/CPRO-Session1/Assignment2","forks_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/forks","keys_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/teams","hooks_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/hooks","issue_events_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/issues/events{/number}","events_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/events","assignees_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/assignees{/user}","branches_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/branches{/branch}","tags_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/tags","blobs_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/git/refs{/sha}","trees_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/statuses/{sha}","languages_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/languages","stargazers_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/stargazers","contributors_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/contributors","subscribers_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/subscribers","subscription_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/subscription","commits_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/commits{/sha}","git_commits_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/git/commits{/sha}","comments_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/comments{/number}","issue_comment_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/issues/comments{/number}","contents_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/contents/{+path}","compare_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/merges","archive_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/downloads","issues_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/issues{/number}","pulls_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/pulls{/number}","milestones_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/milestones{/number}","notifications_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/labels{/name}","releases_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/releases{/id}","deployments_url":"https://api.github.com/repos/CPRO-Session1/Assignment2/deployments","created_at":"2016-06-28T15:08:02Z","updated_at":"2016-06-29T18:11:09Z","pushed_at":"2016-06-30T15:13:12Z","git_url":"git://github.com/CPRO-Session1/Assignment2.git","ssh_url":"git@github.com:CPRO-Session1/Assignment2.git","clone_url":"https://github.com/CPRO-Session1/Assignment2.git","svn_url":"https://github.com/CPRO-Session1/Assignment2","homepage":"","size":5,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":10,"forks":19,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment2/pulls/16"},"html":{"href":"https://github.com/CPRO-Session1/Assignment2/pull/16"},"issue":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment2/issues/16"},"comments":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment2/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment2/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment2/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment2/statuses/de8090c22709f4e59cb1464068484e3c1fb1db98"}}}}
{"actor":{"display_login":"lesley2958"}}