+ 2
Why am i getting wrong output in my hexadecimal to decimal calculator?
input:1CF outpt:207 correct output : 463 https://code.sololearn.com/cjS6grncMQtU/?ref=app
3 Answers
+ 2
In loop condition use i>=0 instead of i>0
0
Thnx done!!
input:1CF outpt:207 correct output : 463 https://code.sololearn.com/cjS6grncMQtU/?ref=app