Track C
C track

Binary

An exercise from the C track
easy

About this exercise

Convert a binary number, represented as a string (e.g. '101010'), to its decimal equivalent using first principles

control flow if statements
control flow loops
math
View all solutions