I am glad that I could help you. As the extracted number are stored in digit, you can add values of digits. th-cam.com/video/QIz7oV2QGGY/w-d-xo.html --> You can see an example here. th-cam.com/video/QIz7oV2QGGY/w-d-xo.html --> explanation is here in this video (in Hindi)
The straight answer is 'I don't think its possible' without any inbuilt function. In Python, its too easy. But as a programmer, its up to you what you are doing in back but getting the expected result.
This can be achieved by multiple ways and it's totally depends on how you think. One approach can be, you can start a counter and whenever a digit is extracted, increment the counter. Once counter hits 3, you can print the digit.
no Actually there should be a check if it's 0. because the last quotient is 0. If it's 0 so the loop will be stop. I'm not taking about for loop or array.
Bro, Its extraction of digits only in reverse order. All the numbers are printed on console together so its looks like reverse of the number but in fact it is not. Reversing is different, you can get the clarity in this video. th-cam.com/video/GA4JQuxeibY/w-d-xo.html (In Hindi).
Damn it took 30 secs for me to realize what professors explains in 3 hours... Thanks man
Thanks Alve. I am glad this helped you.
thanks brother u explained the complicated thing so easily and it is very helpful for me 💗
Really good explanation thank you
Thanks bro, as a uni student this came clear.
Thanks! Your explanation was really clear!
Super useful! Thanks so much
Dude you rule!, thanks that was so useful!
thank you so much for the video, how do you go ahead to add those extracted numbers please. thank you again.
I am glad that I could help you.
As the extracted number are stored in digit, you can add values of digits.
th-cam.com/video/QIz7oV2QGGY/w-d-xo.html --> You can see an example here.
th-cam.com/video/QIz7oV2QGGY/w-d-xo.html --> explanation is here in this video (in Hindi)
@@cse-learning Thank you
Thanks that was helpful
bro how can we extract the first digit , like we are finding last digit first by remainder method.??
The straight answer is 'I don't think its possible' without any inbuilt function. In Python, its too easy.
But as a programmer, its up to you what you are doing in back but getting the expected result.
Nice man...
how would you extract a specific digit from a number? for example if the number is 14672, I choose the 3rd digit, it extracts the number 6
This can be achieved by multiple ways and it's totally depends on how you think.
One approach can be, you can start a counter and whenever a digit is extracted, increment the counter.
Once counter hits 3, you can print the digit.
Thanks
There should be a for loop and array assignment...otherwise the digit will replace the previous one
no Actually there should be a check if it's 0. because the last quotient is 0. If it's 0 so the loop will be stop. I'm not taking about for loop or array.
Nice !!!
hhow i can relate why we use 10000% in C programming
Question is not clear to me. please rephrase.
That is ok but i need to give a variable for each no like num=345 a=3 b=4 c=5...
I need for n number please give me some idea.😅
Create a dynamic array and store those numbers into that array. Study malloc/calloc and you would achieve what you want.
@@cse-learning thank you boss
Bro u said extraction of digits from a number 😓but you did reversing of number.
Bro, Its extraction of digits only in reverse order. All the numbers are printed on console together so its looks like reverse of the number but in fact it is not.
Reversing is different, you can get the clarity in this video. th-cam.com/video/GA4JQuxeibY/w-d-xo.html (In Hindi).
Thanks