Convert a binary to a decimal using for loop and without using array.
Pictorial represntation:
File24.1.png

  
Your score is:       
Copy paste the above completed code in below IDE and run