{"action":"opened","issue":{"url":"https://api.github.com/repos/viswanatha2020/Scala_handson/issues/2","repository_url":"https://api.github.com/repos/viswanatha2020/Scala_handson","labels_url":"https://api.github.com/repos/viswanatha2020/Scala_handson/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/viswanatha2020/Scala_handson/issues/2/comments","events_url":"https://api.github.com/repos/viswanatha2020/Scala_handson/issues/2/events","html_url":"https://github.com/viswanatha2020/Scala_handson/issues/2","id":349722492,"node_id":"MDU6SXNzdWUzNDk3MjI0OTI=","number":2,"title":"Digits to time in scla","user":{"login":"viswanatha2020","id":39405226,"node_id":"MDQ6VXNlcjM5NDA1MjI2","avatar_url":"https://avatars1.githubusercontent.com/u/39405226?v=4","gravatar_id":"","url":"https://api.github.com/users/viswanatha2020","html_url":"https://github.com/viswanatha2020","followers_url":"https://api.github.com/users/viswanatha2020/followers","following_url":"https://api.github.com/users/viswanatha2020/following{/other_user}","gists_url":"https://api.github.com/users/viswanatha2020/gists{/gist_id}","starred_url":"https://api.github.com/users/viswanatha2020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viswanatha2020/subscriptions","organizations_url":"https://api.github.com/users/viswanatha2020/orgs","repos_url":"https://api.github.com/users/viswanatha2020/repos","events_url":"https://api.github.com/users/viswanatha2020/events{/privacy}","received_events_url":"https://api.github.com/users/viswanatha2020/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-11T10:08:08Z","updated_at":"2018-08-11T10:08:08Z","closed_at":null,"author_association":"OWNER","body":"def tim(dig:String):String=\r\n{\r\nvar mm=0\r\nvar hh=0\r\nvar mmmax=0\r\nvar hhmax=0\r\nval dig1=dig\r\nfor(i<-dig)\r\n{\r\n for(j<-dig1)\r\n{ if (((i.asDigit*10)+(j.asDigit))<24)\r\n  {    hh=(i.asDigit*10)+(j.asDigit)\r\n         if (hh>hhmax)\r\n                hhmax=hh\r\n  }\r\n  if ((i.asDigit*10)+(j.asDigit)<60)\r\n         {      \r\n \r\n                mm=(i.asDigit*10)+(j.asDigit)\r\n                if(mm>mmmax)\r\n                mmmax=mm\r\n        }\r\nprintln(s\"hh=$hh:$mm\")\r\n}\r\n//println(s\"$hh:$mm\")\r\n}\r\ns\"$hhmax:$mmmax\"\r\n}\r\n"}}
{"actor":{"display_login":"viswanatha2020"}}