payload: {"action":"created","comment":{"url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/pulls/comments/341479453","pull_request_review_id":310328539,"id":341479453,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM0MTQ3OTQ1Mw==","diff_hunk":"@@ -0,0 +1,75 @@\n+#include <stdio.h>\n+#include <stdlib.h>\n+int n;\n+int *nrbanc;\n+void numarMin_bancnote (int *nrbanc, int n)\n+{\n+    *nrbanc=0;\n+    if(n>=500)","path":"Horvat Diana Adriana/lab 5 pb 3,10/main.c","position":8,"original_position":8,"commit_id":"ec130d444456440b9290f15b54dace0dbf6e9670","original_commit_id":"8404553fd3a23e06424f2f21c418ab5efde4788e","user":{"login":"Alex-Cosma","id":5063160,"node_id":"MDQ6VXNlcjUwNjMxNjA=","avatar_url":"https://avatars1.githubusercontent.com/u/5063160?v=4","gravatar_id":"","url":"https://api.github.com/users/Alex-Cosma","html_url":"https://github.com/Alex-Cosma","followers_url":"https://api.github.com/users/Alex-Cosma/followers","following_url":"https://api.github.com/users/Alex-Cosma/following{/other_user}","gists_url":"https://api.github.com/users/Alex-Cosma/gists{/gist_id}","starred_url":"https://api.github.com/users/Alex-Cosma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alex-Cosma/subscriptions","organizations_url":"https://api.github.com/users/Alex-Cosma/orgs","repos_url":"https://api.github.com/users/Alex-Cosma/repos","events_url":"https://api.github.com/users/Alex-Cosma/events{/privacy}","received_events_url":"https://api.github.com/users/Alex-Cosma/received_events","type":"User","site_admin":false},"body":"If you would have an array in which you'd put all these static values (`500, 200 etc.`) you could iterate through that array and then apply this while loop for each of the values in that array => you won't have so much duplicate code (so many while loops...)","created_at":"2019-11-01T07:55:15Z","updated_at":"2019-11-01T07:56:05Z","html_url":"https://github.com/cs-utcn-group-3/1-cp/pull/110#discussion_r341479453","pull_request_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/pulls/110","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/cs-utcn-group-3/1-cp/pulls/comments/341479453"},"html":{"href":"https://github.com/cs-utcn-group-3/1-cp/pull/110#discussion_r341479453"},"pull_request":{"href":"https://api.github.com/repos/cs-utcn-group-3/1-cp/pulls/110"}}},"pull_request":{"url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/pulls/110","id":334083186,"node_id":"MDExOlB1bGxSZXF1ZXN0MzM0MDgzMTg2","html_url":"https://github.com/cs-utcn-group-3/1-cp/pull/110","diff_url":"https://github.com/cs-utcn-group-3/1-cp/pull/110.diff","patch_url":"https://github.com/cs-utcn-group-3/1-cp/pull/110.patch","issue_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/issues/110","number":110,"state":"open","locked":false,"title":"Pb lab 4,5","user":{"login":"dianaahorvat","id":56338353,"node_id":"MDQ6VXNlcjU2MzM4MzUz","avatar_url":"https://avatars2.githubusercontent.com/u/56338353?v=4","gravatar_id":"","url":"https://api.github.com/users/dianaahorvat","html_url":"https://github.com/dianaahorvat","followers_url":"https://api.github.com/users/dianaahorvat/followers","following_url":"https://api.github.com/users/dianaahorvat/following{/other_user}","gists_url":"https://api.github.com/users/dianaahorvat/gists{/gist_id}","starred_url":"https://api.github.com/users/dianaahorvat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianaahorvat/subscriptions","organizations_url":"https://api.github.com/users/dianaahorvat/orgs","repos_url":"https://api.github.com/users/dianaahorvat/repos","events_url":"https://api.github.com/users/dianaahorvat/events{/privacy}","received_events_url":"https://api.github.com/users/dianaahorvat/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-10-30T08:09:17Z","updated_at":"2019-11-01T07:56:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4613e394de76f9606924449806ecdcc102777f12","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/pulls/110/commits","review_comments_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/pulls/110/comments","review_comment_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/issues/110/comments","statuses_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/statuses/ec130d444456440b9290f15b54dace0dbf6e9670","head":{"label":"dianaahorvat:master","ref":"master","sha":"ec130d444456440b9290f15b54dace0dbf6e9670","user":{"login":"dianaahorvat","id":56338353,"node_id":"MDQ6VXNlcjU2MzM4MzUz","avatar_url":"https://avatars2.githubusercontent.com/u/56338353?v=4","gravatar_id":"","url":"https://api.github.com/users/dianaahorvat","html_url":"https://github.com/dianaahorvat","followers_url":"https://api.github.com/users/dianaahorvat/followers","following_url":"https://api.github.com/users/dianaahorvat/following{/other_user}","gists_url":"https://api.github.com/users/dianaahorvat/gists{/gist_id}","starred_url":"https://api.github.com/users/dianaahorvat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianaahorvat/subscriptions","organizations_url":"https://api.github.com/users/dianaahorvat/orgs","repos_url":"https://api.github.com/users/dianaahorvat/repos","events_url":"https://api.github.com/users/dianaahorvat/events{/privacy}","received_events_url":"https://api.github.com/users/dianaahorvat/received_events","type":"User","site_admin":false},"repo":{"id":213851840,"node_id":"MDEwOlJlcG9zaXRvcnkyMTM4NTE4NDA=","name":"1-cp","full_name":"dianaahorvat/1-cp","private":false,"owner":{"login":"dianaahorvat","id":56338353,"node_id":"MDQ6VXNlcjU2MzM4MzUz","avatar_url":"https://avatars2.githubusercontent.com/u/56338353?v=4","gravatar_id":"","url":"https://api.github.com/users/dianaahorvat","html_url":"https://github.com/dianaahorvat","followers_url":"https://api.github.com/users/dianaahorvat/followers","following_url":"https://api.github.com/users/dianaahorvat/following{/other_user}","gists_url":"https://api.github.com/users/dianaahorvat/gists{/gist_id}","starred_url":"https://api.github.com/users/dianaahorvat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianaahorvat/subscriptions","organizations_url":"https://api.github.com/users/dianaahorvat/orgs","repos_url":"https://api.github.com/users/dianaahorvat/repos","events_url":"https://api.github.com/users/dianaahorvat/events{/privacy}","received_events_url":"https://api.github.com/users/dianaahorvat/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dianaahorvat/1-cp","description":"Computer Programming, First Semester","fork":true,"url":"https://api.github.com/repos/dianaahorvat/1-cp","forks_url":"https://api.github.com/repos/dianaahorvat/1-cp/forks","keys_url":"https://api.github.com/repos/dianaahorvat/1-cp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dianaahorvat/1-cp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dianaahorvat/1-cp/teams","hooks_url":"https://api.github.com/repos/dianaahorvat/1-cp/hooks","issue_events_url":"https://api.github.com/repos/dianaahorvat/1-cp/issues/events{/number}","events_url":"https://api.github.com/repos/dianaahorvat/1-cp/events","assignees_url":"https://api.github.com/repos/dianaahorvat/1-cp/assignees{/user}","branches_url":"https://api.github.com/repos/dianaahorvat/1-cp/branches{/branch}","tags_url":"https://api.github.com/repos/dianaahorvat/1-cp/tags","blobs_url":"https://api.github.com/repos/dianaahorvat/1-cp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dianaahorvat/1-cp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dianaahorvat/1-cp/git/refs{/sha}","trees_url":"https://api.github.com/repos/dianaahorvat/1-cp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dianaahorvat/1-cp/statuses/{sha}","languages_url":"https://api.github.com/repos/dianaahorvat/1-cp/languages","stargazers_url":"https://api.github.com/repos/dianaahorvat/1-cp/stargazers","contributors_url":"https://api.github.com/repos/dianaahorvat/1-cp/contributors","subscribers_url":"https://api.github.com/repos/dianaahorvat/1-cp/subscribers","subscription_url":"https://api.github.com/repos/dianaahorvat/1-cp/subscription","commits_url":"https://api.github.com/repos/dianaahorvat/1-cp/commits{/sha}","git_commits_url":"https://api.github.com/repos/dianaahorvat/1-cp/git/commits{/sha}","comments_url":"https://api.github.com/repos/dianaahorvat/1-cp/comments{/number}","issue_comment_url":"https://api.github.com/repos/dianaahorvat/1-cp/issues/comments{/number}","contents_url":"https://api.github.com/repos/dianaahorvat/1-cp/contents/{+path}","compare_url":"https://api.github.com/repos/dianaahorvat/1-cp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dianaahorvat/1-cp/merges","archive_url":"https://api.github.com/repos/dianaahorvat/1-cp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dianaahorvat/1-cp/downloads","issues_url":"https://api.github.com/repos/dianaahorvat/1-cp/issues{/number}","pulls_url":"https://api.github.com/repos/dianaahorvat/1-cp/pulls{/number}","milestones_url":"https://api.github.com/repos/dianaahorvat/1-cp/milestones{/number}","notifications_url":"https://api.github.com/repos/dianaahorvat/1-cp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dianaahorvat/1-cp/labels{/name}","releases_url":"https://api.github.com/repos/dianaahorvat/1-cp/releases{/id}","deployments_url":"https://api.github.com/repos/dianaahorvat/1-cp/deployments","created_at":"2019-10-09T07:35:29Z","updated_at":"2019-10-30T09:34:21Z","pushed_at":"2019-10-30T09:34:19Z","git_url":"git://github.com/dianaahorvat/1-cp.git","ssh_url":"git@github.com:dianaahorvat/1-cp.git","clone_url":"https://github.com/dianaahorvat/1-cp.git","svn_url":"https://github.com/dianaahorvat/1-cp","homepage":null,"size":3854,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cs-utcn-group-3:master","ref":"master","sha":"0257b1ecd2152fb9ef553c0ec380a084d3db751c","user":{"login":"cs-utcn-group-3","id":56299885,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2Mjk5ODg1","avatar_url":"https://avatars0.githubusercontent.com/u/56299885?v=4","gravatar_id":"","url":"https://api.github.com/users/cs-utcn-group-3","html_url":"https://github.com/cs-utcn-group-3","followers_url":"https://api.github.com/users/cs-utcn-group-3/followers","following_url":"https://api.github.com/users/cs-utcn-group-3/following{/other_user}","gists_url":"https://api.github.com/users/cs-utcn-group-3/gists{/gist_id}","starred_url":"https://api.github.com/users/cs-utcn-group-3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cs-utcn-group-3/subscriptions","organizations_url":"https://api.github.com/users/cs-utcn-group-3/orgs","repos_url":"https://api.github.com/users/cs-utcn-group-3/repos","events_url":"https://api.github.com/users/cs-utcn-group-3/events{/privacy}","received_events_url":"https://api.github.com/users/cs-utcn-group-3/received_events","type":"Organization","site_admin":false},"repo":{"id":213610021,"node_id":"MDEwOlJlcG9zaXRvcnkyMTM2MTAwMjE=","name":"1-cp","full_name":"cs-utcn-group-3/1-cp","private":false,"owner":{"login":"cs-utcn-group-3","id":56299885,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2Mjk5ODg1","avatar_url":"https://avatars0.githubusercontent.com/u/56299885?v=4","gravatar_id":"","url":"https://api.github.com/users/cs-utcn-group-3","html_url":"https://github.com/cs-utcn-group-3","followers_url":"https://api.github.com/users/cs-utcn-group-3/followers","following_url":"https://api.github.com/users/cs-utcn-group-3/following{/other_user}","gists_url":"https://api.github.com/users/cs-utcn-group-3/gists{/gist_id}","starred_url":"https://api.github.com/users/cs-utcn-group-3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cs-utcn-group-3/subscriptions","organizations_url":"https://api.github.com/users/cs-utcn-group-3/orgs","repos_url":"https://api.github.com/users/cs-utcn-group-3/repos","events_url":"https://api.github.com/users/cs-utcn-group-3/events{/privacy}","received_events_url":"https://api.github.com/users/cs-utcn-group-3/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cs-utcn-group-3/1-cp","description":"Computer Programming, First Semester","fork":false,"url":"https://api.github.com/repos/cs-utcn-group-3/1-cp","forks_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/forks","keys_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/teams","hooks_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/hooks","issue_events_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/issues/events{/number}","events_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/events","assignees_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/assignees{/user}","branches_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/branches{/branch}","tags_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/tags","blobs_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/git/refs{/sha}","trees_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/statuses/{sha}","languages_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/languages","stargazers_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/stargazers","contributors_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/contributors","subscribers_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/subscribers","subscription_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/subscription","commits_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/commits{/sha}","git_commits_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/git/commits{/sha}","comments_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/comments{/number}","issue_comment_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/issues/comments{/number}","contents_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/contents/{+path}","compare_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/merges","archive_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/downloads","issues_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/issues{/number}","pulls_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/pulls{/number}","milestones_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/milestones{/number}","notifications_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/labels{/name}","releases_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/releases{/id}","deployments_url":"https://api.github.com/repos/cs-utcn-group-3/1-cp/deployments","created_at":"2019-10-08T10:09:45Z","updated_at":"2019-11-01T07:43:59Z","pushed_at":"2019-11-01T07:43:57Z","git_url":"git://github.com/cs-utcn-group-3/1-cp.git","ssh_url":"git@github.com:cs-utcn-group-3/1-cp.git","clone_url":"https://github.com/cs-utcn-group-3/1-cp.git","svn_url":"https://github.com/cs-utcn-group-3/1-cp","homepage":null,"size":4570,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":13,"license":null,"forks":31,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cs-utcn-group-3/1-cp/pulls/110"},"html":{"href":"https://github.com/cs-utcn-group-3/1-cp/pull/110"},"issue":{"href":"https://api.github.com/repos/cs-utcn-group-3/1-cp/issues/110"},"comments":{"href":"https://api.github.com/repos/cs-utcn-group-3/1-cp/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/cs-utcn-group-3/1-cp/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/cs-utcn-group-3/1-cp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cs-utcn-group-3/1-cp/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/cs-utcn-group-3/1-cp/statuses/ec130d444456440b9290f15b54dace0dbf6e9670"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"Alex-Cosma"}}