I want to write a program that displays dijit of numbers and adds dijits | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I want to write a program that displays dijit of numbers and adds dijits

765 to display dijit and add them

7th Jan 2019, 5:59 PM
Awel Kasim
Awel Kasim - avatar
2 Answers
+ 6
There are numerous ways of doing this, try coding it yourself by breaking the problem in smaller parts. First order of business is how to get the digits one by one.
7th Jan 2019, 8:03 PM
Lambda_Driver
Lambda_Driver - avatar
+ 1
Do that! Give it a try and show us what you made!
7th Jan 2019, 6:46 PM
HonFu
HonFu - avatar