sum functiontake remainder in each iteration and save it in variable say remsum. now remsum=number%10 % is used...
Sharing Class informationif you are using values in functions of base class class you can pass the objects of derived class t...
sum functionget remainder by dividing the number by 10 in a loop and make sure that dont divide the same number ...
sqrt 4[code]sqrt(sqrt(num));[/code] include math.h to use sqrt function.
HELP! Placing an extra copy of the 4th digit.[code]int dnum(int x) { int n=0,t=x;int arr[10];int ret=0; for(n;t>0;n++) { arr[n]=t%10; t/=1...