Write a C Program to find Area of Cylinder
#include<stdio.h>
#include<conio.h>
void main()
{ float r,h,a;
clrscr();
printf(“Enter the radius:”);
scanf(“%f”,&r);
printf(“Enter the height:”);
scanf(“%f”,&h);
a=2*(3.14)*r*h;
printf(“Area of Cylinder is:%f”,a);
getch();
}
Output