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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
This program deals with finding the largest and smallest magnitude in an array. The program asks the user to enter the dimension of the integer array, which he can enter soon after that. Logic: The entered array is traced through the dimension. Initially the program assumes the first member is the smallest and the greatest [...]
Here is a simple program which finds the Gross and Net pay of an employ when the user enters his basic salary. Logic : Here we divided the the employee into three categories according to his basic pay. The first category is getting the basic pay less than Rs.5000/-. Second category is having the basic [...]
Every Quadratic equation has two roots. And this program is implemented to find the roots of the entered quadratic equation. Logic : The roots of any quadratic equation of the the form, are, The same equation is computerized here. The program asks user to enter the three coefficients a, b and c. Then it finds [...]
Let us start from the beginning. Here discusses a model program for calculating the circumference and the area of the circle, where the radius is specified by the user. Logic: As we know, Circumference is ‘Pi’ times diameter of the circle and Area is ‘Pi’ times the radius squared. Implementing the same is the main [...]
This is the one stop educational site for all Electronic and Computer students. If you want to learn something new then we are here to help. We work on Microcontroller projects, Basic Electronics, Digital electronics, Computer projects and also in basic c/c++ programs.
#Home #Sitemap #Submit #Terms of Use
Copyright©2011 electrofriends.com All Rights Reserved
Contact:info@electrofriends.com | Powered by Dhyeya