Track Lua
Lua track

Octal

An exercise from the Lua track
medium

About this exercise

Convert a octal number, represented as a string (e.g. '1735263'), to its decimal equivalent using first principles (i.e. no, you may not use built-in or external libraries to accomplish the conversion).

bitwise operations
control flow if else statements
control flow loops
strings
math
View all solutions