Wednesday, 27 August 2014

Area of Parallelogram solution in c plusplus

Leave a Comment

//Area of Parallelogram    base × height
#include<iostream>
#include<conio.h>
#include<math.h>
using namespace std;
int main()
{
double pi=3.1415926535,base,height,Ans;
cout<<"Enter Base = ";
cin>>base;
cout<<"Enter Height  = ";
cin>>height;
Ans=base*height;
cout<<"Area of Parallelogram = "<<Ans;
getch();
}
If You Enjoyed This, Take 5 Seconds To Share It