Electrofriends

Program to find the perfect numbers between a given range

by Ranjith | December 4th, 2008.

The program is to find all the perfect numbers inside the user defined range. A perfect number is one, whose sum of devisors is equals the number itself.
Logic: This is advanced version of the previous program. Here, user need to enter two numbers as the lower and upper limits for the iteration loop to find [...]

Read More..

Program to find the perfect numbers below a given number.

by Ranjith | December 4th, 2008.

The program is to find all the perfect numbers in the range, which starts from zero and ends at user defined limit. A perfect number is a one, whose sum of devisors is equals the number itself.
Logic: This is a slightly modified version of the previous program. Here, user need to enter the number as [...]

Read More..

To find the fibonacci numbers below a given number.

by Ranjith | December 4th, 2008.

Program describes an easy way to find the Fibonacci numbers below a given number.
Logic:  Fibonacci numbers are the the numbers fall on the Fibonacci series, which grows up accord to Fibonacci rule. The rule is that, the present number in the series is the sum of past number and the number before last. The series [...]

Read More..

Program to find the fibonacci numbers between a given range

by Ranjith | December 4th, 2008.

Here is the slightly modified version of the previous program, which is flexible to find the Fibonacci numbers between the given range.
Logic:  Fibonacci numbers are the the members of the Fibonacci series, which grows up accord to Fibonacci rule. The rule states, the present number in the series is the sum of past number and [...]

Read More..

Program for Fibonacci numbers

by Ranjith | December 4th, 2008.

Program describes an easy way to find the Fibonacci numbers below a given number.
Logic:  Fibonacci numbers are the the numbers fall on the Fibonacci series, which grows up accord to Fibonacci rule. The rule is that, the present number in the series is the sum of past number and the number before last. The series [...]

Read More..

Program for perfect numbers

by Ranjith | December 4th, 2008.

Here is a program to find whether the entered number is a perfect or not. A perfect number is a one, whose sum of devisors is equals the number itself.
Logic: Here in the program, user need to enter the number to check if it is perfect. The for loop in the program traces the iteration [...]

Read More..

Program for prime numbers

by Ranjith | December 4th, 2008.

Here is a program to find whether the entered number is a prime or not. A prime number is a one, whose divisors are 1 and the number itself.
Logic: The program expects the user to enter the number to check for prime property. The for loop in the program traces the iteration till the number, [...]

Read More..

Share and enjoy

    • Digg
    • Facebook
    • Technorati
    • StumbleUpon
    • Twitter
    • Reddit
    • del.icio.us
    • Yahoo! Buzz
Copyright©2009 www.electrofriends.com All Rights Reserved. Powered by Dhyeya