Binary to Denary (Decimal)

I am tasked to convert a binary number using Len(BinaryString) and For n = BinaryLength – 1 to step – 1 which i have no idea how either of those work. Could someone explain the logic in this? The binary number would be inputted by the user obviously

submitted by /u/athrowaway72
[link] [comments]

Leave a Reply