Hello guys! Just created an account solely for this question because I couldn't find a specific answer in Google. So I'm hoping this would be a better platform to be guided along with this problem I'm facing.
The 6 Digit OTP output should be in the order: (remainder 1)(remainder 2)(Last 2 digits) and as you can see, it seems to be in order however, whenever there's a "0" in either 1 of the value, the output doesn't seem to show it.
I used printf("%d%d%d", remainder1,remainder2,last2digits) and all three variables are set to int so for the life of me I can't figure out why the output would not display the 0.
Thus, I was hoping to learn what kind of problem this is so I can further research and hopefully solve my coding problem.
Thanks so much guys!