TSA,CSA and volume of cylinder

Share it Please
this program will print total surface area, curved surface area and volume of cylinder.this program uses simple formulas for CSA TSA and volume of cylinder.the formulas of Curved surface area(CSA),Total surface area(TSA), and volume (V) is given bellow.

TSA=2*pi*r*(h+r)

CSA=2*pi*r*h

V=pi*r*r*h

Program:

#include<stdio.h>
#include<conio.h>
#define pi 3.142857
main()
{
    float h,r,csa,tsa,volume;
    clrscr();
    printf("Enter Radius: ");
    scanf("%f",&r);
    printf("Enter Height: ");
    scanf("%f",&h);
    csa=2*pi*r*h;
    tsa=2*pi*r*(h+r);
    volume=pi*r*r*h;
    printf("\nCurved surface area is %f",csa);
    printf("\nTotal surface area is %f",tsa);
    printf("\nVolume of Cylinder is %f",volume);
    getch();
}