
C Program to find sum of cube of the digits of a number
Published April 22, 2023
Views 766 | Likes 17 | Comments 2
At a glance
Views
766
Likes
17
Comments
2
Performance vs. channel
Outlier score
Engagement rate
More features coming
We're working on new analytics and tools. Stay tuned.
About
#include"stdio.h" #include"conio.h" void main() { int n,s=0,r; clrscr(); printf("\nEnter a number: "); scanf("%d",&n); while(n) { r=n%10; n/=10; s+=r*r*r; } printf("\nSum= %d",s); getch(); } Contact:- [email protected] Thanks for watching ---------------------------------- Like this video ---…
- Published
- April 22, 2023
- Made for kids
- No
More features coming
We're working on new analytics and tools. Stay tuned.