Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
1 Commented Post
0 Endorsements
Ranked #107.79K
~988 People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums
Favorite Tags
c x 1

1 Posted Topic

Member Avatar for Adnan S.

#include <stdio.h> #include <conio.h> main() { int n, sum = 0, remainder; printf("Enter an integer= "); scanf("%d",&n); while(n != 0) { remainder = n % 10; sum = sum + remainder; n = n / 10; } printf(" \n Sum of digits of entered number = %d.",sum); getch(); }

Member Avatar for sneekula
0
988

The End.