This document was uploaded by user and they confirmed that they have the permission to share
it. If you are author or own the copyright of this book, please report to us by using this DMCA
report form. Report DMCA
Overview
Download & View C Program To Find Sum Of Cubic Roots Of Individual Digits Of A Number as PDF for free.
SUM OF CUBIC ROOT OF THE INDIVIDUAL DIGITS OF A NUMBER Examples: 123 : 11/3 + 21/3 + 31/3 Program: #include<stdio.h> #include #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(); } More useful programs @ http://www.gethugames.in/blog/