to find the gross and net salary

Thursday, December 4th, 2008  »  Posted By  »  Total 0 Comment

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 [...]

to find the roots of a quadratic equation

Thursday, December 4th, 2008  »  Posted By  »  Total 0 Comment

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 [...]

To calculate area and circumference of the circle

Wednesday, December 3rd, 2008  »  Posted By  »  Total 0 Comment

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 [...]

to find the biggest and smallest of three numbers

Wednesday, December 3rd, 2008  »  Posted By  »  Total 0 Comment

Here is an optimized program to find the largest and smallest among three entered numbers. Logic : The entered three numbers N1, N2, N3 are compared in such an order, where the first comparison checks if  N1  largest. If so, prints it out and exists; if not so, it omits N1 from further comparison and [...]

Intelligent Train Engines

Intelligent Train Engines Thursday, November 20th, 2008  »  Posted By  »  Total 268 Comments

The idea is whenever any engine observes a red signal on its track it will start decreasing its speed gradually and stops automatically at some distance from the signal pole. After then when it gets green signal the driver can manually start the train and go on.

Robotic car using 8951 Microcontroller

Robotic car using 8951 Microcontroller Wednesday, November 19th, 2008  »  Posted By  »  Total 446 Comments

Robotic Car is a miniature prototype car powered by batteries whose various movements can be control either manually or automatically, or the combination of both.

To calculate area and circumference of the circle

Thursday, November 6th, 2008  »  Posted By  »  Total 0 Comment

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 [...]

Question and Answer
C/C++ Unix & Linux Wordpress
Source codes
C C++ Java

Free email signup