{"action":"created","comment":{"url":"https://api.github.com/repos/hsp-harut/seua/pulls/comments/214536311","pull_request_review_id":151616660,"id":214536311,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDUzNjMxMQ==","diff_hunk":"@@ -0,0 +1,55 @@\n+package main.java.am.hsp.apps.seua.task211_220;\n+\n+import main.java.am.hsp.apps.seua.base.TaskArrayBase;\n+\n+/**\n+ * Print average square of positive elements\n+ * \n+ * @author lusine\n+ *\n+ */\n+public class Task_212 extends TaskArrayBase {\n+\n+\tpublic static void main(String[] args) {\n+\t\tTask_212 task = new Task_212();\n+\t\ttask.solve();\n+\t}\n+\n+\t/*\n+\t * (non-Javadoc)\n+\t * \n+\t * @see main.java.am.hsp.apps.seua.base.TaskBase#solve()\n+\t */\n+\t@Override\n+\tpublic void solve() {\n+\t\tint startRange = getUserInput(\"Please enter start of range\");\n+\t\tint endRange = getUserInput(\"Please enter end of range\");\n+\t\tint size = getUserInput(\"Please enter size of array\");\n+\n+\t\tint[] array = createArray(size, startRange, endRange);\n+\n+\t\tprintArray(array);\n+\t\tSystem.out.println(\"Average Square \" + averageSquare(array));\n+\t}\n+\n+\t/**\n+\t * Calculate average square of positive elements\n+\t * \n+\t * @param array\n+\t * @return\n+\t */\n+\tprivate double averageSquare(int[] array) {","path":"src/main/java/am/hsp/apps/seua/task211_220/Task_212.java","position":41,"original_position":41,"commit_id":"8b61c690f14e5c654692f054da15f2f3b835bc2b","original_commit_id":"8b61c690f14e5c654692f054da15f2f3b835bc2b","user":{"login":"hsp-lusine","id":40883878,"node_id":"MDQ6VXNlcjQwODgzODc4","avatar_url":"https://avatars2.githubusercontent.com/u/40883878?v=4","gravatar_id":"","url":"https://api.github.com/users/hsp-lusine","html_url":"https://github.com/hsp-lusine","followers_url":"https://api.github.com/users/hsp-lusine/followers","following_url":"https://api.github.com/users/hsp-lusine/following{/other_user}","gists_url":"https://api.github.com/users/hsp-lusine/gists{/gist_id}","starred_url":"https://api.github.com/users/hsp-lusine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsp-lusine/subscriptions","organizations_url":"https://api.github.com/users/hsp-lusine/orgs","repos_url":"https://api.github.com/users/hsp-lusine/repos","events_url":"https://api.github.com/users/hsp-lusine/events{/privacy}","received_events_url":"https://api.github.com/users/hsp-lusine/received_events","type":"User","site_admin":false},"body":"I do not know the mean or average ... so I wrote two words ... which is the word true :) :)","created_at":"2018-09-02T10:55:26Z","updated_at":"2018-09-02T10:55:26Z","html_url":"https://github.com/hsp-harut/seua/pull/124#discussion_r214536311","pull_request_url":"https://api.github.com/repos/hsp-harut/seua/pulls/124","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/hsp-harut/seua/pulls/comments/214536311"},"html":{"href":"https://github.com/hsp-harut/seua/pull/124#discussion_r214536311"},"pull_request":{"href":"https://api.github.com/repos/hsp-harut/seua/pulls/124"}},"in_reply_to_id":214533080},"pull_request":{"url":"https://api.github.com/repos/hsp-harut/seua/pulls/124","id":212366274,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyMzY2Mjc0","html_url":"https://github.com/hsp-harut/seua/pull/124","diff_url":"https://github.com/hsp-harut/seua/pull/124.diff","patch_url":"https://github.com/hsp-harut/seua/pull/124.patch","issue_url":"https://api.github.com/repos/hsp-harut/seua/issues/124","number":124,"state":"open","locked":false,"title":"Lusine: Tasks 211 _220","user":{"login":"hsp-lusine","id":40883878,"node_id":"MDQ6VXNlcjQwODgzODc4","avatar_url":"https://avatars2.githubusercontent.com/u/40883878?v=4","gravatar_id":"","url":"https://api.github.com/users/hsp-lusine","html_url":"https://github.com/hsp-lusine","followers_url":"https://api.github.com/users/hsp-lusine/followers","following_url":"https://api.github.com/users/hsp-lusine/following{/other_user}","gists_url":"https://api.github.com/users/hsp-lusine/gists{/gist_id}","starred_url":"https://api.github.com/users/hsp-lusine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsp-lusine/subscriptions","organizations_url":"https://api.github.com/users/hsp-lusine/orgs","repos_url":"https://api.github.com/users/hsp-lusine/repos","events_url":"https://api.github.com/users/hsp-lusine/events{/privacy}","received_events_url":"https://api.github.com/users/hsp-lusine/received_events","type":"User","site_admin":false},"body":"I skip tasks 213, 214, 217, which are similar to other tasks ","created_at":"2018-08-31T12:22:00Z","updated_at":"2018-09-02T10:55:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b120f2c6cc353fc61b90e83ef9dd059edd2ee757","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":777017733,"node_id":"MDU6TGFiZWw3NzcwMTc3MzM=","url":"https://api.github.com/repos/hsp-harut/seua/labels/needs%20work","name":"needs work","color":"e87045","default":false},{"id":1026885045,"node_id":"MDU6TGFiZWwxMDI2ODg1MDQ1","url":"https://api.github.com/repos/hsp-harut/seua/labels/review%20%231","name":"review #1","color":"f4f2bb","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/hsp-harut/seua/pulls/124/commits","review_comments_url":"https://api.github.com/repos/hsp-harut/seua/pulls/124/comments","review_comment_url":"https://api.github.com/repos/hsp-harut/seua/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hsp-harut/seua/issues/124/comments","statuses_url":"https://api.github.com/repos/hsp-harut/seua/statuses/8b61c690f14e5c654692f054da15f2f3b835bc2b","head":{"label":"hsp-harut:LH_Tasks_211-220","ref":"LH_Tasks_211-220","sha":"8b61c690f14e5c654692f054da15f2f3b835bc2b","user":{"login":"hsp-harut","id":34002792,"node_id":"MDQ6VXNlcjM0MDAyNzky","avatar_url":"https://avatars1.githubusercontent.com/u/34002792?v=4","gravatar_id":"","url":"https://api.github.com/users/hsp-harut","html_url":"https://github.com/hsp-harut","followers_url":"https://api.github.com/users/hsp-harut/followers","following_url":"https://api.github.com/users/hsp-harut/following{/other_user}","gists_url":"https://api.github.com/users/hsp-harut/gists{/gist_id}","starred_url":"https://api.github.com/users/hsp-harut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsp-harut/subscriptions","organizations_url":"https://api.github.com/users/hsp-harut/orgs","repos_url":"https://api.github.com/users/hsp-harut/repos","events_url":"https://api.github.com/users/hsp-harut/events{/privacy}","received_events_url":"https://api.github.com/users/hsp-harut/received_events","type":"User","site_admin":false},"repo":{"id":113083592,"node_id":"MDEwOlJlcG9zaXRvcnkxMTMwODM1OTI=","name":"seua","full_name":"hsp-harut/seua","owner":{"login":"hsp-harut","id":34002792,"node_id":"MDQ6VXNlcjM0MDAyNzky","avatar_url":"https://avatars1.githubusercontent.com/u/34002792?v=4","gravatar_id":"","url":"https://api.github.com/users/hsp-harut","html_url":"https://github.com/hsp-harut","followers_url":"https://api.github.com/users/hsp-harut/followers","following_url":"https://api.github.com/users/hsp-harut/following{/other_user}","gists_url":"https://api.github.com/users/hsp-harut/gists{/gist_id}","starred_url":"https://api.github.com/users/hsp-harut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsp-harut/subscriptions","organizations_url":"https://api.github.com/users/hsp-harut/orgs","repos_url":"https://api.github.com/users/hsp-harut/repos","events_url":"https://api.github.com/users/hsp-harut/events{/privacy}","received_events_url":"https://api.github.com/users/hsp-harut/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hsp-harut/seua","description":null,"fork":false,"url":"https://api.github.com/repos/hsp-harut/seua","forks_url":"https://api.github.com/repos/hsp-harut/seua/forks","keys_url":"https://api.github.com/repos/hsp-harut/seua/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hsp-harut/seua/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hsp-harut/seua/teams","hooks_url":"https://api.github.com/repos/hsp-harut/seua/hooks","issue_events_url":"https://api.github.com/repos/hsp-harut/seua/issues/events{/number}","events_url":"https://api.github.com/repos/hsp-harut/seua/events","assignees_url":"https://api.github.com/repos/hsp-harut/seua/assignees{/user}","branches_url":"https://api.github.com/repos/hsp-harut/seua/branches{/branch}","tags_url":"https://api.github.com/repos/hsp-harut/seua/tags","blobs_url":"https://api.github.com/repos/hsp-harut/seua/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hsp-harut/seua/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hsp-harut/seua/git/refs{/sha}","trees_url":"https://api.github.com/repos/hsp-harut/seua/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hsp-harut/seua/statuses/{sha}","languages_url":"https://api.github.com/repos/hsp-harut/seua/languages","stargazers_url":"https://api.github.com/repos/hsp-harut/seua/stargazers","contributors_url":"https://api.github.com/repos/hsp-harut/seua/contributors","subscribers_url":"https://api.github.com/repos/hsp-harut/seua/subscribers","subscription_url":"https://api.github.com/repos/hsp-harut/seua/subscription","commits_url":"https://api.github.com/repos/hsp-harut/seua/commits{/sha}","git_commits_url":"https://api.github.com/repos/hsp-harut/seua/git/commits{/sha}","comments_url":"https://api.github.com/repos/hsp-harut/seua/comments{/number}","issue_comment_url":"https://api.github.com/repos/hsp-harut/seua/issues/comments{/number}","contents_url":"https://api.github.com/repos/hsp-harut/seua/contents/{+path}","compare_url":"https://api.github.com/repos/hsp-harut/seua/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hsp-harut/seua/merges","archive_url":"https://api.github.com/repos/hsp-harut/seua/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hsp-harut/seua/downloads","issues_url":"https://api.github.com/repos/hsp-harut/seua/issues{/number}","pulls_url":"https://api.github.com/repos/hsp-harut/seua/pulls{/number}","milestones_url":"https://api.github.com/repos/hsp-harut/seua/milestones{/number}","notifications_url":"https://api.github.com/repos/hsp-harut/seua/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hsp-harut/seua/labels{/name}","releases_url":"https://api.github.com/repos/hsp-harut/seua/releases{/id}","deployments_url":"https://api.github.com/repos/hsp-harut/seua/deployments","created_at":"2017-12-04T19:10:06Z","updated_at":"2018-07-06T07:57:40Z","pushed_at":"2018-09-02T08:45:03Z","git_url":"git://github.com/hsp-harut/seua.git","ssh_url":"git@github.com:hsp-harut/seua.git","clone_url":"https://github.com/hsp-harut/seua.git","svn_url":"https://github.com/hsp-harut/seua","homepage":null,"size":1356,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"hsp-harut:master_lusine","ref":"master_lusine","sha":"c513b1e35f0bae83c624d9351a9d641b080ae1a5","user":{"login":"hsp-harut","id":34002792,"node_id":"MDQ6VXNlcjM0MDAyNzky","avatar_url":"https://avatars1.githubusercontent.com/u/34002792?v=4","gravatar_id":"","url":"https://api.github.com/users/hsp-harut","html_url":"https://github.com/hsp-harut","followers_url":"https://api.github.com/users/hsp-harut/followers","following_url":"https://api.github.com/users/hsp-harut/following{/other_user}","gists_url":"https://api.github.com/users/hsp-harut/gists{/gist_id}","starred_url":"https://api.github.com/users/hsp-harut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsp-harut/subscriptions","organizations_url":"https://api.github.com/users/hsp-harut/orgs","repos_url":"https://api.github.com/users/hsp-harut/repos","events_url":"https://api.github.com/users/hsp-harut/events{/privacy}","received_events_url":"https://api.github.com/users/hsp-harut/received_events","type":"User","site_admin":false},"repo":{"id":113083592,"node_id":"MDEwOlJlcG9zaXRvcnkxMTMwODM1OTI=","name":"seua","full_name":"hsp-harut/seua","owner":{"login":"hsp-harut","id":34002792,"node_id":"MDQ6VXNlcjM0MDAyNzky","avatar_url":"https://avatars1.githubusercontent.com/u/34002792?v=4","gravatar_id":"","url":"https://api.github.com/users/hsp-harut","html_url":"https://github.com/hsp-harut","followers_url":"https://api.github.com/users/hsp-harut/followers","following_url":"https://api.github.com/users/hsp-harut/following{/other_user}","gists_url":"https://api.github.com/users/hsp-harut/gists{/gist_id}","starred_url":"https://api.github.com/users/hsp-harut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsp-harut/subscriptions","organizations_url":"https://api.github.com/users/hsp-harut/orgs","repos_url":"https://api.github.com/users/hsp-harut/repos","events_url":"https://api.github.com/users/hsp-harut/events{/privacy}","received_events_url":"https://api.github.com/users/hsp-harut/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hsp-harut/seua","description":null,"fork":false,"url":"https://api.github.com/repos/hsp-harut/seua","forks_url":"https://api.github.com/repos/hsp-harut/seua/forks","keys_url":"https://api.github.com/repos/hsp-harut/seua/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hsp-harut/seua/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hsp-harut/seua/teams","hooks_url":"https://api.github.com/repos/hsp-harut/seua/hooks","issue_events_url":"https://api.github.com/repos/hsp-harut/seua/issues/events{/number}","events_url":"https://api.github.com/repos/hsp-harut/seua/events","assignees_url":"https://api.github.com/repos/hsp-harut/seua/assignees{/user}","branches_url":"https://api.github.com/repos/hsp-harut/seua/branches{/branch}","tags_url":"https://api.github.com/repos/hsp-harut/seua/tags","blobs_url":"https://api.github.com/repos/hsp-harut/seua/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hsp-harut/seua/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hsp-harut/seua/git/refs{/sha}","trees_url":"https://api.github.com/repos/hsp-harut/seua/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hsp-harut/seua/statuses/{sha}","languages_url":"https://api.github.com/repos/hsp-harut/seua/languages","stargazers_url":"https://api.github.com/repos/hsp-harut/seua/stargazers","contributors_url":"https://api.github.com/repos/hsp-harut/seua/contributors","subscribers_url":"https://api.github.com/repos/hsp-harut/seua/subscribers","subscription_url":"https://api.github.com/repos/hsp-harut/seua/subscription","commits_url":"https://api.github.com/repos/hsp-harut/seua/commits{/sha}","git_commits_url":"https://api.github.com/repos/hsp-harut/seua/git/commits{/sha}","comments_url":"https://api.github.com/repos/hsp-harut/seua/comments{/number}","issue_comment_url":"https://api.github.com/repos/hsp-harut/seua/issues/comments{/number}","contents_url":"https://api.github.com/repos/hsp-harut/seua/contents/{+path}","compare_url":"https://api.github.com/repos/hsp-harut/seua/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hsp-harut/seua/merges","archive_url":"https://api.github.com/repos/hsp-harut/seua/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hsp-harut/seua/downloads","issues_url":"https://api.github.com/repos/hsp-harut/seua/issues{/number}","pulls_url":"https://api.github.com/repos/hsp-harut/seua/pulls{/number}","milestones_url":"https://api.github.com/repos/hsp-harut/seua/milestones{/number}","notifications_url":"https://api.github.com/repos/hsp-harut/seua/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hsp-harut/seua/labels{/name}","releases_url":"https://api.github.com/repos/hsp-harut/seua/releases{/id}","deployments_url":"https://api.github.com/repos/hsp-harut/seua/deployments","created_at":"2017-12-04T19:10:06Z","updated_at":"2018-07-06T07:57:40Z","pushed_at":"2018-09-02T08:45:03Z","git_url":"git://github.com/hsp-harut/seua.git","ssh_url":"git@github.com:hsp-harut/seua.git","clone_url":"https://github.com/hsp-harut/seua.git","svn_url":"https://github.com/hsp-harut/seua","homepage":null,"size":1356,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hsp-harut/seua/pulls/124"},"html":{"href":"https://github.com/hsp-harut/seua/pull/124"},"issue":{"href":"https://api.github.com/repos/hsp-harut/seua/issues/124"},"comments":{"href":"https://api.github.com/repos/hsp-harut/seua/issues/124/comments"},"review_comments":{"href":"https://api.github.com/repos/hsp-harut/seua/pulls/124/comments"},"review_comment":{"href":"https://api.github.com/repos/hsp-harut/seua/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hsp-harut/seua/pulls/124/commits"},"statuses":{"href":"https://api.github.com/repos/hsp-harut/seua/statuses/8b61c690f14e5c654692f054da15f2f3b835bc2b"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"hsp-lusine"}}