This exercise is write a program that sum all digits of an integer.
Exercise: Write a program that reads an integer between 0 and 1000 and adds all the digits in the integer
Enter an integer between 0 and 1000: 932 Sum of digits is: 14
Download Code: Sum Digits
No comments:
Post a Comment