#include<stdio.h>
#include<conio.h>
void main()
{
int height;
float rad,area;
printf("\n\nEnter the radius and height of the cylinder: ");
scanf("%f%d",&rad,&height);
area=2*3.14*rad*(height+rad);
printf("\n\n Area of the cylinde=%f",area);
getch();
}
#include<conio.h>
void main()
{
int height;
float rad,area;
printf("\n\nEnter the radius and height of the cylinder: ");
scanf("%f%d",&rad,&height);
area=2*3.14*rad*(height+rad);
printf("\n\n Area of the cylinde=%f",area);
getch();
}