{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/pulls/2","id":229369190,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5MzY5MTkw","html_url":"https://github.com/mohammed74/program-of-who-most-paid-in-CPP/pull/2","diff_url":"https://github.com/mohammed74/program-of-who-most-paid-in-CPP/pull/2.diff","patch_url":"https://github.com/mohammed74/program-of-who-most-paid-in-CPP/pull/2.patch","issue_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/issues/2","number":2,"state":"open","locked":false,"title":"help me to correct file code (mostpaid.cpp)","user":{"login":"mohammed74","id":29189497,"node_id":"MDQ6VXNlcjI5MTg5NDk3","avatar_url":"https://avatars0.githubusercontent.com/u/29189497?v=4","gravatar_id":"","url":"https://api.github.com/users/mohammed74","html_url":"https://github.com/mohammed74","followers_url":"https://api.github.com/users/mohammed74/followers","following_url":"https://api.github.com/users/mohammed74/following{/other_user}","gists_url":"https://api.github.com/users/mohammed74/gists{/gist_id}","starred_url":"https://api.github.com/users/mohammed74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohammed74/subscriptions","organizations_url":"https://api.github.com/users/mohammed74/orgs","repos_url":"https://api.github.com/users/mohammed74/repos","events_url":"https://api.github.com/users/mohammed74/events{/privacy}","received_events_url":"https://api.github.com/users/mohammed74/received_events","type":"User","site_admin":false},"body":"im need to make a program or code when it's running the show to me exactly who a customer was most paid and, then I'm was refine the original code by adding this (selected in the blue line in image)\r\n![untitled](https://user-images.githubusercontent.com/29189497/48202333-3f6f4f80-e36d-11e8-9a57-84801ef81100.png)\r\nto allow me to input more one customer paid when it run the code show me only three inputs, then the result false, for example to three inputs (15, 13, 11) respectively the result showed that the user pay 13 is a hight or (13,15,11) so that 15 is a hight (the second value ) (13 11 15) then 11 is hight .\r\nplease run the code in the environment and suggest me what the correct im need the program run and show me the most paid value and am need when entering the negative value reject the input .\r\nthanks","created_at":"2018-11-08T13:45:29Z","updated_at":"2018-11-08T13:45:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/issues/2/comments","statuses_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/statuses/7cfbdd809aeb85aa856518cfc581652a1b6a848b","head":{"label":"mohammed74:revert-1-readme-edit","ref":"revert-1-readme-edit","sha":"7cfbdd809aeb85aa856518cfc581652a1b6a848b","user":{"login":"mohammed74","id":29189497,"node_id":"MDQ6VXNlcjI5MTg5NDk3","avatar_url":"https://avatars0.githubusercontent.com/u/29189497?v=4","gravatar_id":"","url":"https://api.github.com/users/mohammed74","html_url":"https://github.com/mohammed74","followers_url":"https://api.github.com/users/mohammed74/followers","following_url":"https://api.github.com/users/mohammed74/following{/other_user}","gists_url":"https://api.github.com/users/mohammed74/gists{/gist_id}","starred_url":"https://api.github.com/users/mohammed74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohammed74/subscriptions","organizations_url":"https://api.github.com/users/mohammed74/orgs","repos_url":"https://api.github.com/users/mohammed74/repos","events_url":"https://api.github.com/users/mohammed74/events{/privacy}","received_events_url":"https://api.github.com/users/mohammed74/received_events","type":"User","site_admin":false},"repo":{"id":156692885,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY2OTI4ODU=","name":"program-of-who-most-paid-in-CPP","full_name":"mohammed74/program-of-who-most-paid-in-CPP","private":false,"owner":{"login":"mohammed74","id":29189497,"node_id":"MDQ6VXNlcjI5MTg5NDk3","avatar_url":"https://avatars0.githubusercontent.com/u/29189497?v=4","gravatar_id":"","url":"https://api.github.com/users/mohammed74","html_url":"https://github.com/mohammed74","followers_url":"https://api.github.com/users/mohammed74/followers","following_url":"https://api.github.com/users/mohammed74/following{/other_user}","gists_url":"https://api.github.com/users/mohammed74/gists{/gist_id}","starred_url":"https://api.github.com/users/mohammed74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohammed74/subscriptions","organizations_url":"https://api.github.com/users/mohammed74/orgs","repos_url":"https://api.github.com/users/mohammed74/repos","events_url":"https://api.github.com/users/mohammed74/events{/privacy}","received_events_url":"https://api.github.com/users/mohammed74/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mohammed74/program-of-who-most-paid-in-CPP","description":"simple program in C++ to find any customer make a most paid ","fork":false,"url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP","forks_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/forks","keys_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/teams","hooks_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/hooks","issue_events_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/issues/events{/number}","events_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/events","assignees_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/assignees{/user}","branches_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/branches{/branch}","tags_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/tags","blobs_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/git/refs{/sha}","trees_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/statuses/{sha}","languages_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/languages","stargazers_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/stargazers","contributors_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/contributors","subscribers_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/subscribers","subscription_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/subscription","commits_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/commits{/sha}","git_commits_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/git/commits{/sha}","comments_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/comments{/number}","issue_comment_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/issues/comments{/number}","contents_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/contents/{+path}","compare_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/merges","archive_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/downloads","issues_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/issues{/number}","pulls_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/pulls{/number}","milestones_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/milestones{/number}","notifications_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/labels{/name}","releases_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/releases{/id}","deployments_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/deployments","created_at":"2018-11-08T10:56:18Z","updated_at":"2018-11-08T12:36:48Z","pushed_at":"2018-11-08T12:40:17Z","git_url":"git://github.com/mohammed74/program-of-who-most-paid-in-CPP.git","ssh_url":"git@github.com:mohammed74/program-of-who-most-paid-in-CPP.git","clone_url":"https://github.com/mohammed74/program-of-who-most-paid-in-CPP.git","svn_url":"https://github.com/mohammed74/program-of-who-most-paid-in-CPP","homepage":null,"size":4,"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":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mohammed74:master","ref":"master","sha":"3b7ba2de0d8369f3ef7ee1170e6614c4c2a50d9e","user":{"login":"mohammed74","id":29189497,"node_id":"MDQ6VXNlcjI5MTg5NDk3","avatar_url":"https://avatars0.githubusercontent.com/u/29189497?v=4","gravatar_id":"","url":"https://api.github.com/users/mohammed74","html_url":"https://github.com/mohammed74","followers_url":"https://api.github.com/users/mohammed74/followers","following_url":"https://api.github.com/users/mohammed74/following{/other_user}","gists_url":"https://api.github.com/users/mohammed74/gists{/gist_id}","starred_url":"https://api.github.com/users/mohammed74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohammed74/subscriptions","organizations_url":"https://api.github.com/users/mohammed74/orgs","repos_url":"https://api.github.com/users/mohammed74/repos","events_url":"https://api.github.com/users/mohammed74/events{/privacy}","received_events_url":"https://api.github.com/users/mohammed74/received_events","type":"User","site_admin":false},"repo":{"id":156692885,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY2OTI4ODU=","name":"program-of-who-most-paid-in-CPP","full_name":"mohammed74/program-of-who-most-paid-in-CPP","private":false,"owner":{"login":"mohammed74","id":29189497,"node_id":"MDQ6VXNlcjI5MTg5NDk3","avatar_url":"https://avatars0.githubusercontent.com/u/29189497?v=4","gravatar_id":"","url":"https://api.github.com/users/mohammed74","html_url":"https://github.com/mohammed74","followers_url":"https://api.github.com/users/mohammed74/followers","following_url":"https://api.github.com/users/mohammed74/following{/other_user}","gists_url":"https://api.github.com/users/mohammed74/gists{/gist_id}","starred_url":"https://api.github.com/users/mohammed74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohammed74/subscriptions","organizations_url":"https://api.github.com/users/mohammed74/orgs","repos_url":"https://api.github.com/users/mohammed74/repos","events_url":"https://api.github.com/users/mohammed74/events{/privacy}","received_events_url":"https://api.github.com/users/mohammed74/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mohammed74/program-of-who-most-paid-in-CPP","description":"simple program in C++ to find any customer make a most paid ","fork":false,"url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP","forks_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/forks","keys_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/teams","hooks_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/hooks","issue_events_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/issues/events{/number}","events_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/events","assignees_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/assignees{/user}","branches_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/branches{/branch}","tags_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/tags","blobs_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/git/refs{/sha}","trees_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/statuses/{sha}","languages_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/languages","stargazers_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/stargazers","contributors_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/contributors","subscribers_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/subscribers","subscription_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/subscription","commits_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/commits{/sha}","git_commits_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/git/commits{/sha}","comments_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/comments{/number}","issue_comment_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/issues/comments{/number}","contents_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/contents/{+path}","compare_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/merges","archive_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/downloads","issues_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/issues{/number}","pulls_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/pulls{/number}","milestones_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/milestones{/number}","notifications_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/labels{/name}","releases_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/releases{/id}","deployments_url":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/deployments","created_at":"2018-11-08T10:56:18Z","updated_at":"2018-11-08T12:36:48Z","pushed_at":"2018-11-08T12:40:17Z","git_url":"git://github.com/mohammed74/program-of-who-most-paid-in-CPP.git","ssh_url":"git@github.com:mohammed74/program-of-who-most-paid-in-CPP.git","clone_url":"https://github.com/mohammed74/program-of-who-most-paid-in-CPP.git","svn_url":"https://github.com/mohammed74/program-of-who-most-paid-in-CPP","homepage":null,"size":4,"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":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/pulls/2"},"html":{"href":"https://github.com/mohammed74/program-of-who-most-paid-in-CPP/pull/2"},"issue":{"href":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/issues/2"},"comments":{"href":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mohammed74/program-of-who-most-paid-in-CPP/statuses/7cfbdd809aeb85aa856518cfc581652a1b6a848b"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":0,"deletions":0,"changed_files":0}}
{"actor":{"display_login":"mohammed74"}}