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
4
Explanation:
This C++ Program which gets a number from input and displays the sum of the digits in the given number.
Answered by
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
Social Sciences,
6 months ago
Computer Science,
1 year ago
Biology,
1 year ago
Chemistry,
1 year ago