0

I want to make binary code to text?

I want to make Binary code converter program with Ruby, how i can convert multiple Binary code?

29th Jan 2020, 9:25 AM
Phuwanai Chaosuan
Phuwanai Chaosuan - avatar
6 Respostas
29th Jan 2020, 10:02 AM
Hatsy Rei
Hatsy Rei - avatar
+ 6
What have you done so far in coding for this task? Please show us your attempt (link your code done in playground here) so that we can help you.
29th Jan 2020, 9:35 AM
Lothar
Lothar - avatar
+ 4
Phuwanai Chaosuan If you look at the links I provided, you should be able to come up with something like: puts gets.to_i(2).chr
29th Jan 2020, 11:26 AM
Hatsy Rei
Hatsy Rei - avatar
+ 4
You can try this: code = gets puts code.to_i(2).chr
29th Jan 2020, 11:43 AM
Lothar
Lothar - avatar
0
Sorry for late this is code playground link:https://code.sololearn.com/c7bbeaBJxajK/#rb I make like this because i want to develop to language translator. <Sorry for bad English>
29th Jan 2020, 11:22 AM
Phuwanai Chaosuan
Phuwanai Chaosuan - avatar