Computer Science, asked by kristen7083, 1 year ago

Write a program in c++ to find the sum of digits of a given number. Go to the editor sample output: input a number: 1234 the sum of digits of 1234 is: 10

Answers

Answered by abhisekmohanty69
4

Explanation:

This C++ Program which gets a number from input and displays the sum of the digits in the given number.

Answered by fa5120338
0

Explanation:

Write a program in c++ to find the sum of digits of a given number. Go to the editor sample output: input a number: 1234 the sum of digits of 1234 is: 10

Similar questions
Math, 6 months ago