• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Sum of digit

e.g. input 789 output 7+8+9=24

c++
23rd Oct 2017, 6:23 AM
Victoria Kim
Victoria  Kim - avatar
1 Answer
+ 5
https://code.sololearn.com/chX0JM4Xq4P8/?ref=app Try converting it to C++
23rd Oct 2017, 6:56 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Is there a problem on sololearn?
1 Votes
Can someone help me with this
2 Votes
Why always user input 🥹 //import
1 Votes
ما هي أشهر أنظمة التشغيل التي يستخدمها الهاكرز ولماذا؟
0 Votes
Flexbox vs CSS Grid: Which One Should I Use and When?
0 Votes
xmlhttpreques
0 Votes
Pointers Confusion
2 Votes
Centering specific part in flex container
0 Votes
I am beginner
1 Votes
Coding Foundations
0 Votes