I am a new programmer/developer and really enjoyed working through your solution, I have added it to my list to go back through the code to get a deeper understanding.
I really liked how you reversed digits then used i from the for loop to calculate powerOf10, nice!
Passionate full stack web developer, course author for Educative, book author for Packt, he/him.
Find my work and get to know me on my Linktree: https://linktr.ee/thormeier
Thank you for this solution Pascal!
I am a new programmer/developer and really enjoyed working through your solution, I have added it to my list to go back through the code to get a deeper understanding.
I really liked how you reversed
digits
then usedi
from the for loop to calculatepowerOf10
, nice!Cheers,
Alex :)
You're very welcome, so glad my post helped you. π If you have any questions about it, please feel free to ask, I'm always happy to help!