Posts by Felipe Martins • 11 points
1 post
-
-1
votes2
answers390
viewsQ: Receive an integer number in the input, calculate and print the sum of the odd digits of this number in the output
I saw a similar doubt and he used this code, but in my case I need him to add up only the odd numbers he gets. For example, when typing 123, instead of adding up 1+2+3 it should add up 1+3 only. How…