How do I remove tenth from any natural number? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I remove tenth from any natural number?

For example if I type 18463829 it should remove tenths and it will be 1846389.

8th Nov 2018, 9:04 AM
kantarevic7
kantarevic7 - avatar
2 Answers
+ 10
I still don't believe I did this, but here's my c++ code about it :) https://code.sololearn.com/cBC8INDf04F5/?ref=app (still a fervent follower of The Snake 🐍😉)
8th Nov 2018, 9:35 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
Omg that is too easy, thank You.
8th Nov 2018, 9:40 AM
kantarevic7
kantarevic7 - avatar