{"action":"opened","issue":{"url":"https://api.github.com/repos/ElijahUA/hw/issues/6","repository_url":"https://api.github.com/repos/ElijahUA/hw","labels_url":"https://api.github.com/repos/ElijahUA/hw/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/ElijahUA/hw/issues/6/comments","events_url":"https://api.github.com/repos/ElijahUA/hw/issues/6/events","html_url":"https://github.com/ElijahUA/hw/issues/6","id":182135517,"number":6,"title":"HW4.1.2","user":{"login":"ElijahUA","id":22731470,"avatar_url":"https://avatars.githubusercontent.com/u/22731470?v=3","gravatar_id":"","url":"https://api.github.com/users/ElijahUA","html_url":"https://github.com/ElijahUA","followers_url":"https://api.github.com/users/ElijahUA/followers","following_url":"https://api.github.com/users/ElijahUA/following{/other_user}","gists_url":"https://api.github.com/users/ElijahUA/gists{/gist_id}","starred_url":"https://api.github.com/users/ElijahUA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElijahUA/subscriptions","organizations_url":"https://api.github.com/users/ElijahUA/orgs","repos_url":"https://api.github.com/users/ElijahUA/repos","events_url":"https://api.github.com/users/ElijahUA/events{/privacy}","received_events_url":"https://api.github.com/users/ElijahUA/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-10T23:01:53Z","updated_at":"2016-10-10T23:01:53Z","closed_at":null,"body":"```\r\npackage ohta.i.ua;\r\n\r\nimport java.util.Scanner;\r\n\r\npublic class HW2 {\r\n\tpublic static void main(String[] args) {\r\n\t\tScanner sc = new Scanner(System.in);\r\n\r\n\t    int y = 1;\r\n\t    int n;\r\n\t    System.out.println(\"Input number from 4 to 16\");\r\n\t\tn = sc.nextInt();\r\n\t\t\r\n\t\t    for (int i = 1; i <= n; i++){\r\n\t        y=y*i;\r\n\t        }\r\n\t    \r\n\t    if (4 <= n && n <= 16) {\r\n\t\t\tSystem.out.print(n+ \"!=\");\r\n\t\t\tSystem.out.print(y);\r\n\t\t} else {\r\n\t\t\tSystem.out.print(\"Wrong number\");\r\n\t\t}\r\n\t    sc.close();\r\n\t}\r\n}\r\n```"}}
{"actor":{"display_login":"ElijahUA"}}