http://technotip.com/6543/perimeter-o...
The length and breadth / width of a rectangle are entered through the keyboard. Write a program to calculate the perimeter of the rectangle.
To get perimeter of a rectangle, we add the length and width of rectangle and then multiply it with 2. In other words, perimeter is the addition of length of all the sides of a rectangle.
Note: Perimeter of a Rectangle is calculated using the formula
Perimeter = 2 * (Length + Width);
C Programming Interview / Viva Q&A List
http://technotip.com/6378/c-programmi...
C Programming: Beginner To Advance To Expert
http://technotip.com/6086/c-programmi...