How to extract from digit number

if n=123 ,
n=n%10 it give remainder .but next step extract 12 from 123
n=n/10
=12 how?

when we divide 123 by 10 then what will be the integer value you will get after dividing?
it will be 12 to only get the integer part.
10*12=120 if you take the multiple any bigger then this then it will go in integer part.
if you still have any doubt you can ask here:
Happy Learning!!

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.

Hello @mohitenikhil888 you have raised the doubt agaun is there anything there you have not understood?

thanks bhaiya , my dout is solve

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.