take input as string maximum length 7.
output is length of that string in binary no.
sample input: hello
(length is 5)
sample output: 00 01 10 11 100
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
vishal badadePosted Jun 17, 2015, 2:20 PM
Sujeet SumanPosted Jun 17, 2015, 1:08 PM