vishal badade

vishal badade

  • NA
  • 9
  • 1.5k

convert string length into binary number

Jun 17 2015 10:29 AM
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

Answers (2)