Challenge: Decimal to Binary😈😑 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Challenge: Decimal to Binary😈😑

Can you make a program that takes Decimal input from user and converts that into Binary? it should take binary input only There is no other limit.

26th Dec 2017, 2:45 AM
SAB
SAB - avatar
12 Answers
20th Feb 2018, 3:15 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 15
https://code.sololearn.com/cwwc8eNo77N7/?ref=app
20th Feb 2018, 6:17 PM
Danijel Ivanović
Danijel Ivanović - avatar
21st Feb 2018, 12:07 PM
MeanMachine
MeanMachine - avatar
26th Dec 2017, 8:14 PM
Justine Ogaraku
Justine Ogaraku - avatar
+ 10
https://code.sololearn.com/cLfmHw264aED/?ref=app
18th Jan 2018, 12:26 PM
Raphael Williams
Raphael Williams - avatar
26th Dec 2017, 2:47 AM
GAWEN STEASY
GAWEN STEASY - avatar
28th Dec 2017, 12:26 PM
Med Arezki
Med Arezki - avatar
+ 5
https://code.sololearn.com/cWmYPOdW8FL1/?ref=app
26th Dec 2017, 4:19 AM
Louis
Louis - avatar
+ 2
Uh, decimal is base-10, or in other words, a 'regular' integer. I see no issue.
26th Dec 2017, 4:42 AM
LunarCoffee
LunarCoffee - avatar
+ 1
Are you asking users to redefine Floating point representations or recreate it with different limits? See: https://en.m.wikipedia.org/wiki/Floating-point_arithmetic
26th Dec 2017, 5:45 AM
H Chiang
0
question was asked for decimal not for integer
26th Dec 2017, 3:41 AM
SAB
SAB - avatar