Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Operations on numbers (http://www.go4expert.com/forums/operations-on-numbers-t26087/)

Avenger625 18Jun2011 11:39

Operations on numbers
 
I would like all the members here take part in this and contribute to this simple thread......

We all think differently....so we ll have different solutions to this simple problem.

I am searching for different logics that would generate the following numbers in an arbitary range say between UpperLimit and LowerLimit. (int UL,LL).
1. Armstrong Number
*2. Magic / Ramanujan Number [http://www.quickermaths.com/ramanujan-number/] << This is more important for me.
3. Krishnamurthy Number [A krishnamurthy number is one whose sum of the factorials of each number is equal to the number itself. Eg: 145]

shabbir 18Jun2011 12:50

Re: Operations on numbers
 
You created the same thread twice. I deleted the one in the C-C++ and left the only Java one here. Now I see you created the same thread again.

Please make sure you avoid creating the same thread over and over again.


All times are GMT +5.5. The time now is 08:29.