codinasion-archive / codinasion-programme

An open source codebase for sharing programming solutions.
https://codinasion.vercel.app/programme
MIT License
62 stars 147 forks source link

Sum of Digits #178

Closed harshraj8843 closed 2 years ago

harshraj8843 commented 2 years ago

Title of article

Write a Java program to print sum of digits.

Additional information

Input:  2332
Output: 10
Input:  23
Output: 5

Code of Conduct

debaghosh commented 2 years ago

Hey! New to open sourcing. Where should I add the solution? There is no Java folder.

harshraj8843 commented 2 years ago

Hey! New to open sourcing. Where should I add the solution? There is no Java folder.

Hii @debaghosh

Please do follows:

Optional steps (if you wanna do)

Thanks 😃