given an array that's formed from binary numbers, create a new array by converting the binary numbers of the first to octal
i don't understand how to put everything together in the right way, could you explain please?
A number is a number. Binary and octal are different text representations of a number.
XXXXXXXXX
How many 'X' is in that string?
On decimal system, 10-based system, you would write "9".
On octal, 8-based system you would write "11" (because there are 1*8+1 X).
On binary representation, the answer is "1001".
Computer stores an integer value. The task is to read words as if they were binary/octal/decimal/hex and to show integers in binary/octal/decimal/hex format.
@seeplus i have to input the binary numbers, it's not specified :) i know how to convert from binary to octal but since it's a separate solution, i don't know where or how to correctly put it in my code