Monday, 25 August 2014

Perimeter of Parallelogram

Leave a Comment

//Perimeter of Parallelogram 2 × (side1 + side2)
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
double parallelogram,side1,side2;

cout<<"Enter Side 1 = ";
cin>>side1;
cout<<"Enter Side 2 = ";
cin>>side2;
parallelogram=2*(side1 +side2);
cout<<"Perimeter of Parallelogram = "<<parallelogram;
getch();
}
If You Enjoyed This, Take 5 Seconds To Share It