W.A.P to compute the Sum of digit of a given integer number.

W.A.P to compute the Sum of digit of a given integer number.



Output 1:

 Enter the integer number=12345

Sum of the Integer Digit=15

Output 2:

Enter the integer number= 2543

Sum of the Integer Digit=14

Post a Comment

0 Comments