what is the input we have to do the binary number or we have to print the binary number.
Patterns doubt regarding how to do
You will be given binary number in the form of string and you have to print its decimal equivalent
now a pattern is given here so wt i have to do enter the binary number as input and get decimal as output ?
@ssmit_joshi yes
First line in input is the number of testcases.
Next lines contain binary representation of some number and you have to print its decimal equivalent
but this can be done with array only you have not taught till now and question was given
So level it for now. After can attempt it after you study strings and arrays
i am doing compile and test but it is not working
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.
I m not able to do understand this method
When i m pushing more than 1 element it is not printing n not working peek properly