+ 2
Write a single line of code in JAVA to print sum of digits in a number taken as input.
5 Réponses
+ 12
// i like the code 😃☺
// will modify my method now
+ 11
https://code.sololearn.com/cDMf4B3y6LPY/?ref=app
//u can write whole code in 1 line ☺😂
+ 5
Here is in one line :
https://code.sololearn.com/cfBT8py390A4/?ref=app
+ 4
recursive solution
https://code.sololearn.com/c9DdWDS7If9S/#java
+ 2
@LukArToDo Done.