#include <stdio.h> int main (void) { double area,length, breadth; printf("Enter the length: "); scanf("%lf",&length); printf("Enter the breadth: "); scanf("%lf",&breadth); area=length*breadth; printf("The Area of the Parallelogram is %lf\n",area); system("pause"); return 0; }
1 comments:
Area of Parallelogram = B X H
Where,
B is the length of base of parallelogram.
H is the length of height of parallelogram.
Here is similar c program to find area of circle and area of rectangle
Post a Comment