¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
Sum of digit
e.g. input 789 output 7+8+9=24
1 Respuesta
+ 5
https://code.sololearn.com/chX0JM4Xq4P8/?ref=app
Try converting it to C++
e.g. input 789 output 7+8+9=24