+ 19

[ASSIGNMENT] :: Binary to Decimal && Octal Number

The octal numeral system, or oct for short, is the base-8 number system, and uses the digits 0 to 7. For example:- Input :-110011 Output :- Decimal number :- 51 Octal Number : 53 1.Make a program to convert a binary number into an octal number. 2.Make a program to convert a Binary number into decimal first then to an octal number. Already submitted as an assignment. Here is my answer. https://code.sololearn.com/cabuOcR65AIQ/?ref=app

18th Mar 2018, 2:42 PM
Akash Pal
Akash Pal - avatar
10 Answers
+ 12
https://code.sololearn.com/cxJKa3Y34hnW/?ref=app
18th Mar 2018, 11:29 PM
Vukan
Vukan - avatar
+ 9
You can use this, it convert any numbers to any base you want: https://code.sololearn.com/cLloJ7hePPti/?ref=app
18th Mar 2018, 5:33 PM
Baraa AB
Baraa AB - avatar
+ 9
My old code.. converts to every base.. https://code.sololearn.com/cLlqQ5bQ0Ztt/?ref=app
19th Mar 2018, 12:36 AM
AZTECCO
AZTECCO - avatar
+ 7
https://code.sololearn.com/cx4g9kW7Nr18/?ref=app
12th May 2018, 10:39 AM
JULIUS FREDRICK
JULIUS FREDRICK - avatar
+ 6
I will try😉
19th Mar 2018, 1:04 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
19th Mar 2018, 1:24 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 5
https://code.sololearn.com/cCm3q1nU9yQS/?ref=app
26th Mar 2018, 4:37 PM
Luis GarcĂ­a
Luis GarcĂ­a - avatar
+ 4
C++ Use stoi() then setbase() https://code.sololearn.com/cNtP3Q7whS3o
19th Mar 2018, 12:27 AM
William Then
William Then - avatar