sum functiontake remainder in each iteration and save it in variable say remsum.
% 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 ...
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;int ret=0;