Examples:

123 : 11/3 + 21/3 + 31/3

Program:

#include<stdio.h>
#include<conio.h>
#include<math.h>

void main()
{
long int no;
float sum = 0;
clrscr();
printf(“Enter a Number : “);
scanf(“%ld”, &no);
while (no > 0)
{
sum = sum + pow(no % 10,(1/3));
no = no / 10;
}
printf(“\nSum is %f\n”, sum);
getch();
}