Wednesday, 27 August 2014

Area of Cylinder (surface of side) solution in c plusplus

Leave a Comment
//Area of Cylinder (surface of side) perimeter of circle × height
#include<iostream>
#include<math.h>
using namespace std;
static double pi=3.1415926535;
int main()
{
double permimeter_of_circle,height,Ans;
cout<<"Enter Height = ";
cin>>height;
cout<<"Enter Permimeter of Circle = ";
cin>>permimeter_of_circle;
Ans=height*permimeter_of_circle;
cout<<"Area of Cylinder (surface of side) = "<<Ans<<endl;
system("pause");
}
If You Enjoyed This, Take 5 Seconds To Share It