I have binary strings:
let x = "0b101101111";
let y = "0b111111";
How do I convert the string to binary to be able to find the sum?
this works:
let x = 0b101101111;
let y = 0b111111;
println!("x + y = {:b} ", x + y);
// x + y = 110101110
thanks!