printing of perfect numbers
hi friends i tried this logic to print the perfect numbers but there is no output at all pls can any one tell me wht's the mistake is?the code is as follows
Re: printing of perfect numbers
your logic is correct but you forget to reinitialize sum=0
here is the correct code..
|All times are GMT +5.5. The time now is 14:19.|