1 digit | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

1 digit

hi I wanna get a number as input and then have the sum of digits if the result is still more than one digit lets have sum of that too we must do it until we see a one digit number

6th Jan 2023, 2:21 PM
Mohsen Farahi
Mohsen Farahi - avatar
1 Answer
+ 8
Mohsen Farahi , have you done any try so far that you you can link here for us?
6th Jan 2023, 4:16 PM
Lothar
Lothar - avatar