{"action":"created","comment":{"url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/pulls/comments/27507956","id":27507956,"diff_hunk":"@@ -0,0 +1,49 @@\n+/*\r\n+ * To change this license header, choose License Headers in Project Properties.\r\n+ * To change this template file, choose Tools | Templates\r\n+ * and open the template in the editor.\r\n+ */\r\n+\r\n+package lab3new;\r\n+\r\n+import java.util.Scanner;\r\n+\r\n+/**\r\n+ *\r\n+ * @author class\r\n+ */\r\n+public class Lab3new {\r\n+\r\n+    /**\r\n+     * @param args the command line arguments\r\n+     */\r\n+    public static void main(String[] args) {\r\n+        Scanner keyboard = new Scanner(System.in);\r\n+        System.out.println(\"Enter an operator: \");\r\n+        String operator = keyboard.next();\r\n+        System.out.println(\"Enter an integer: \");\r\n+        int integer = keyboard.nextInt();\r\n+        System.out.println(\"Enter an integer1\");\r\n+        int integer1 = keyboard.nextInt();\r\n+        \r\n+        int math1 = integer + integer1; \r\n+        int math2 = integer - integer1;\r\n+        int math3 = integer * integer1;\r\n+        int math4 = integer / integer1;\r\n+        \r\n+        if (operator.equals(\"+\"))\r\n+            System.out.println(\"The answer is: \" + math1);\r\n+        \r\n+        else if (operator.equals(\"-\"))\r\n+            System.out.println(\"The answer is: \" + math2);\r\n+        \r\n+        if (operator.equals(\"*\"))\r\n+            System.out.println(\"The answer is: \" + math3);\r\n+        \r\n+        else if (operator.equals(\"/\"))\r","path":"src/lab3new/Lab3new.java","position":43,"original_position":43,"commit_id":"77ae1d3b19f057caa13dfa5aaa975040c69561a4","original_commit_id":"77ae1d3b19f057caa13dfa5aaa975040c69561a4","user":{"login":"khatchad","id":2048831,"avatar_url":"https://avatars.githubusercontent.com/u/2048831?v=3","gravatar_id":"","url":"https://api.github.com/users/khatchad","html_url":"https://github.com/khatchad","followers_url":"https://api.github.com/users/khatchad/followers","following_url":"https://api.github.com/users/khatchad/following{/other_user}","gists_url":"https://api.github.com/users/khatchad/gists{/gist_id}","starred_url":"https://api.github.com/users/khatchad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khatchad/subscriptions","organizations_url":"https://api.github.com/users/khatchad/orgs","repos_url":"https://api.github.com/users/khatchad/repos","events_url":"https://api.github.com/users/khatchad/events{/privacy}","received_events_url":"https://api.github.com/users/khatchad/received_events","type":"User","site_admin":false},"body":"Missing several cases here.","created_at":"2015-03-31T18:27:40Z","updated_at":"2015-03-31T18:27:40Z","html_url":"https://github.com/cst1201-d644/NumberCalculator/pull/13#discussion_r27507956","pull_request_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/cst1201-d644/NumberCalculator/pulls/comments/27507956"},"html":{"href":"https://github.com/cst1201-d644/NumberCalculator/pull/13#discussion_r27507956"},"pull_request":{"href":"https://api.github.com/repos/cst1201-d644/NumberCalculator/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/pulls/13","id":31769722,"html_url":"https://github.com/cst1201-d644/NumberCalculator/pull/13","diff_url":"https://github.com/cst1201-d644/NumberCalculator/pull/13.diff","patch_url":"https://github.com/cst1201-d644/NumberCalculator/pull/13.patch","issue_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/issues/13","number":13,"state":"open","locked":false,"title":"Lab 3","user":{"login":"rehabelmaskeny","id":10855874,"avatar_url":"https://avatars.githubusercontent.com/u/10855874?v=3","gravatar_id":"","url":"https://api.github.com/users/rehabelmaskeny","html_url":"https://github.com/rehabelmaskeny","followers_url":"https://api.github.com/users/rehabelmaskeny/followers","following_url":"https://api.github.com/users/rehabelmaskeny/following{/other_user}","gists_url":"https://api.github.com/users/rehabelmaskeny/gists{/gist_id}","starred_url":"https://api.github.com/users/rehabelmaskeny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rehabelmaskeny/subscriptions","organizations_url":"https://api.github.com/users/rehabelmaskeny/orgs","repos_url":"https://api.github.com/users/rehabelmaskeny/repos","events_url":"https://api.github.com/users/rehabelmaskeny/events{/privacy}","received_events_url":"https://api.github.com/users/rehabelmaskeny/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-23T20:16:51Z","updated_at":"2015-03-31T18:27:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"94c5f22abc366b6ae6ed4a45cbac4ea7fd6ccc0c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/pulls/13/commits","review_comments_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/pulls/13/comments","review_comment_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/issues/13/comments","statuses_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/statuses/77ae1d3b19f057caa13dfa5aaa975040c69561a4","head":{"label":"rehabelmaskeny:master","ref":"master","sha":"77ae1d3b19f057caa13dfa5aaa975040c69561a4","user":{"login":"rehabelmaskeny","id":10855874,"avatar_url":"https://avatars.githubusercontent.com/u/10855874?v=3","gravatar_id":"","url":"https://api.github.com/users/rehabelmaskeny","html_url":"https://github.com/rehabelmaskeny","followers_url":"https://api.github.com/users/rehabelmaskeny/followers","following_url":"https://api.github.com/users/rehabelmaskeny/following{/other_user}","gists_url":"https://api.github.com/users/rehabelmaskeny/gists{/gist_id}","starred_url":"https://api.github.com/users/rehabelmaskeny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rehabelmaskeny/subscriptions","organizations_url":"https://api.github.com/users/rehabelmaskeny/orgs","repos_url":"https://api.github.com/users/rehabelmaskeny/repos","events_url":"https://api.github.com/users/rehabelmaskeny/events{/privacy}","received_events_url":"https://api.github.com/users/rehabelmaskeny/received_events","type":"User","site_admin":false},"repo":{"id":32353848,"name":"Calculator","full_name":"rehabelmaskeny/Calculator","owner":{"login":"rehabelmaskeny","id":10855874,"avatar_url":"https://avatars.githubusercontent.com/u/10855874?v=3","gravatar_id":"","url":"https://api.github.com/users/rehabelmaskeny","html_url":"https://github.com/rehabelmaskeny","followers_url":"https://api.github.com/users/rehabelmaskeny/followers","following_url":"https://api.github.com/users/rehabelmaskeny/following{/other_user}","gists_url":"https://api.github.com/users/rehabelmaskeny/gists{/gist_id}","starred_url":"https://api.github.com/users/rehabelmaskeny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rehabelmaskeny/subscriptions","organizations_url":"https://api.github.com/users/rehabelmaskeny/orgs","repos_url":"https://api.github.com/users/rehabelmaskeny/repos","events_url":"https://api.github.com/users/rehabelmaskeny/events{/privacy}","received_events_url":"https://api.github.com/users/rehabelmaskeny/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rehabelmaskeny/Calculator","description":"The calculator lab.","fork":true,"url":"https://api.github.com/repos/rehabelmaskeny/Calculator","forks_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/forks","keys_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/teams","hooks_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/hooks","issue_events_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/issues/events{/number}","events_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/events","assignees_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/assignees{/user}","branches_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/branches{/branch}","tags_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/tags","blobs_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/git/refs{/sha}","trees_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/statuses/{sha}","languages_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/languages","stargazers_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/stargazers","contributors_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/contributors","subscribers_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/subscribers","subscription_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/subscription","commits_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/commits{/sha}","git_commits_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/git/commits{/sha}","comments_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/comments{/number}","issue_comment_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/issues/comments{/number}","contents_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/contents/{+path}","compare_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/merges","archive_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/downloads","issues_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/issues{/number}","pulls_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/pulls{/number}","milestones_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/milestones{/number}","notifications_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/labels{/name}","releases_url":"https://api.github.com/repos/rehabelmaskeny/Calculator/releases{/id}","created_at":"2015-03-16T21:23:50Z","updated_at":"2015-03-18T21:21:36Z","pushed_at":"2015-03-18T21:21:36Z","git_url":"git://github.com/rehabelmaskeny/Calculator.git","ssh_url":"git@github.com:rehabelmaskeny/Calculator.git","clone_url":"https://github.com/rehabelmaskeny/Calculator.git","svn_url":"https://github.com/rehabelmaskeny/Calculator","homepage":null,"size":98,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"cst1201-d644:master","ref":"master","sha":"8492d2e06235c94b6f5d92927dbc94b90c7fed0b","user":{"login":"cst1201-d644","id":10299488,"avatar_url":"https://avatars.githubusercontent.com/u/10299488?v=3","gravatar_id":"","url":"https://api.github.com/users/cst1201-d644","html_url":"https://github.com/cst1201-d644","followers_url":"https://api.github.com/users/cst1201-d644/followers","following_url":"https://api.github.com/users/cst1201-d644/following{/other_user}","gists_url":"https://api.github.com/users/cst1201-d644/gists{/gist_id}","starred_url":"https://api.github.com/users/cst1201-d644/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cst1201-d644/subscriptions","organizations_url":"https://api.github.com/users/cst1201-d644/orgs","repos_url":"https://api.github.com/users/cst1201-d644/repos","events_url":"https://api.github.com/users/cst1201-d644/events{/privacy}","received_events_url":"https://api.github.com/users/cst1201-d644/received_events","type":"Organization","site_admin":false},"repo":{"id":31932082,"name":"NumberCalculator","full_name":"cst1201-d644/NumberCalculator","owner":{"login":"cst1201-d644","id":10299488,"avatar_url":"https://avatars.githubusercontent.com/u/10299488?v=3","gravatar_id":"","url":"https://api.github.com/users/cst1201-d644","html_url":"https://github.com/cst1201-d644","followers_url":"https://api.github.com/users/cst1201-d644/followers","following_url":"https://api.github.com/users/cst1201-d644/following{/other_user}","gists_url":"https://api.github.com/users/cst1201-d644/gists{/gist_id}","starred_url":"https://api.github.com/users/cst1201-d644/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cst1201-d644/subscriptions","organizations_url":"https://api.github.com/users/cst1201-d644/orgs","repos_url":"https://api.github.com/users/cst1201-d644/repos","events_url":"https://api.github.com/users/cst1201-d644/events{/privacy}","received_events_url":"https://api.github.com/users/cst1201-d644/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cst1201-d644/NumberCalculator","description":"The calculator lab.","fork":false,"url":"https://api.github.com/repos/cst1201-d644/NumberCalculator","forks_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/forks","keys_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/teams","hooks_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/hooks","issue_events_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/issues/events{/number}","events_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/events","assignees_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/assignees{/user}","branches_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/branches{/branch}","tags_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/tags","blobs_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/git/refs{/sha}","trees_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/statuses/{sha}","languages_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/languages","stargazers_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/stargazers","contributors_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/contributors","subscribers_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/subscribers","subscription_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/subscription","commits_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/commits{/sha}","git_commits_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/git/commits{/sha}","comments_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/comments{/number}","issue_comment_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/issues/comments{/number}","contents_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/contents/{+path}","compare_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/merges","archive_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/downloads","issues_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/issues{/number}","pulls_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/pulls{/number}","milestones_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/milestones{/number}","notifications_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/labels{/name}","releases_url":"https://api.github.com/repos/cst1201-d644/NumberCalculator/releases{/id}","created_at":"2015-03-10T01:33:07Z","updated_at":"2015-03-24T21:05:33Z","pushed_at":"2015-03-24T21:06:44Z","git_url":"git://github.com/cst1201-d644/NumberCalculator.git","ssh_url":"git@github.com:cst1201-d644/NumberCalculator.git","clone_url":"https://github.com/cst1201-d644/NumberCalculator.git","svn_url":"https://github.com/cst1201-d644/NumberCalculator","homepage":null,"size":291,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":1,"forks":23,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cst1201-d644/NumberCalculator/pulls/13"},"html":{"href":"https://github.com/cst1201-d644/NumberCalculator/pull/13"},"issue":{"href":"https://api.github.com/repos/cst1201-d644/NumberCalculator/issues/13"},"comments":{"href":"https://api.github.com/repos/cst1201-d644/NumberCalculator/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/cst1201-d644/NumberCalculator/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/cst1201-d644/NumberCalculator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cst1201-d644/NumberCalculator/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/cst1201-d644/NumberCalculator/statuses/77ae1d3b19f057caa13dfa5aaa975040c69561a4"}}}}