+ 131

[ASSIGNMENT] ⭐÷÷÷÷÷÷÷Challenge÷÷÷÷÷÷÷÷÷⭐ 👉✍calculator without any operator✍👈. ( OVER)

my first challenge description make a calculator without any operator for addition and subtraction, it's easy but in multiplication it will also multiply decimal number like ( 65*5.7) and negative numbers also like (-32*46) and for division like (21/3) &(3/43)&(53/43) WITHOUT ANY USE OF THIS + - * / and ++ , -- basically i want to know core of coding how operator (which i think it's function) works hence the result is lukar todo ace kartikey sahu all of you guys were good at individual level thanks

28th Nov 2017, 2:00 PM
Ankush Kumar
Ankush Kumar - avatar
117 Answers
+ 96
My try (code without using of: +, -,*, /,++, - -, +=, etc.) : https://code.sololearn.com/cY3G5MvgPbGi/?ref=app
29th Nov 2017, 9:26 AM
LukArToDo
LukArToDo - avatar
+ 37
https://code.sololearn.com/cdmTSU2s9DZa/?ref=app https://code.sololearn.com/c92dXjJmJf29/?ref=app
29th Nov 2017, 10:53 AM
Käzî Mrîdùl Høssäîn
Käzî Mrîdùl Høssäîn - avatar
+ 35
Make use of bitwise operator for addition and subtraction. And Booth's algorithm for signed and unsigned multiplication.
28th Nov 2017, 2:10 PM
Apoorva Shenoy Nayak
Apoorva Shenoy Nayak - avatar
+ 28
congrats buddy @bool1 //☺☺🎊🎊🎊🎉🎉🎉🎊🎉🎉🎊🎉🎊🎉🎊☺☺
3rd Dec 2017, 7:13 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 26
Only for integers, Addition without '+': sub without '-': multiplication without'*': division without '/': (for negative and positive integers) https://code.sololearn.com/cPniF5G55Jv1/?ref=app (my try .....)
6th Dec 2017, 6:17 AM
Prabha_I
Prabha_I - avatar
+ 20
28th Nov 2017, 5:33 PM
Ronak Pareek
Ronak Pareek - avatar
+ 14
@Bool 1 Congrats on the COTD 👍👏
3rd Dec 2017, 6:51 PM
LukArToDo
LukArToDo - avatar
+ 8
IMMORTAL why did you loose your xp😭
28th Nov 2017, 4:55 PM
Jaydeep Khatri
Jaydeep Khatri - avatar
+ 8
I'm new in this.... I can make a calculator but with operator.... https://code.sololearn.com/WM4WPtyxd3z8/?ref=app
3rd Dec 2017, 5:48 PM
A N S H U L S I N G H
A N S H U L   S I N G H - avatar
+ 8
Here's my answer it returns True with the test https://code.sololearn.com/cr7ZyTpRNguO/?ref=app IMPORTANT NOTE : I CAN MAKE IT WITH INPUT BUT SOLOLEARN DOESN'T SUPPORT MULTIPLE INPUTS EXTRA NOTE : WHY EVERYBODY WANTS TO DOWNVOTE FOR OTHERS TO MAKE THERE ANSWER LOOK STUPID AN THEY DIDN'T EVEN READ THE NOTES 🙅🙇😫😵
3rd Dec 2017, 8:57 PM
warlord
warlord - avatar
3rd Dec 2017, 9:04 PM
Emmanuel Chavez
Emmanuel Chavez - avatar
+ 8
My try I have implementation of truediv, may add multiplication for floats later https://code.sololearn.com/celkW6POhVgV/?ref=app
4th Dec 2017, 10:10 AM
David Akhihiero
David Akhihiero - avatar
+ 8
I updated my code![v2]
4th Dec 2017, 12:33 PM
Käzî Mrîdùl Høssäîn
Käzî Mrîdùl Høssäîn - avatar
+ 7
hmm use all operator rather than + - * /
28th Nov 2017, 4:42 PM
Ankush Kumar
Ankush Kumar - avatar
+ 7
oh I see
28th Nov 2017, 5:02 PM
Jaydeep Khatri
Jaydeep Khatri - avatar
+ 7
print(eval (input ()))
3rd Dec 2017, 5:51 PM
Lagishetti Venkatesh
Lagishetti Venkatesh - avatar
+ 7
impressive guys keep on posting i will tell you who is winner I'm glad if you don't use phyton and ruby
3rd Dec 2017, 6:52 PM
Ankush Kumar
Ankush Kumar - avatar
+ 7
thanku all
3rd Dec 2017, 6:53 PM
Ankush Kumar
Ankush Kumar - avatar
29th Nov 2017, 2:10 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
+ 6
thanku @sahu
3rd Dec 2017, 6:46 PM
Ankush Kumar
Ankush Kumar - avatar