i have this code to convert dinary to decimal but when i enter a binary number all it does is return the number of digits i typed i.e. if i typed 110010 it should return 50 but I get 6. Any...