Von Neuman code to print binary to decimal


This is my code can you please tell what i am doing wrong here.
It is saying to print out the binary to decimal N times and i have made the loop for that too…can u please tell me what i am doing wrong here

Hi @akshat42bajpai
I guess u misunderstood the ques… what ques says is that u are given a number say n and then following n lines have n binary numbers… u have to convert them to corresponding decimal numbers and print them…
corrected code --> https://ide.codingblocks.com/s/619248

Hi… i hope its clear now??

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.