0

How to write a psuedo code to convert binary into decimal???

Using only while loop and if else conditions.

21st Sep 2017, 4:18 PM
kamran arshad
kamran arshad - avatar
2 Respostas
+ 2
Here's the code, but i have used function to avoid code repetition and you can use multiple if else statements instead of switch. https://code.sololearn.com/cic9Na2Fdzd2/?ref=app
21st Sep 2017, 4:45 PM
Lakshay
Lakshay - avatar
+ 1
Sorry Ive posted the opposite code, this one may help you: https://code.sololearn.com/cWRp46gtqnSv/?ref=app
23rd Sep 2017, 4:54 AM
Lakshay
Lakshay - avatar