Progarm to find curved and total surface area and volume of a cone in C

Program

#include <stdio.h>
int main()
{
    float r,h,l,tsa,csa,v;
    printf("**************************************************************");
    printf("\n**************************************************************");
    printf("\n** WAP to find curved & total surface area & volume of cone **");
    printf("\n**                     Created by Sheetal Garg              **");
    printf("\n**                      Assistant Professor                 **");
    printf("\n**                      Phone No:9467863365                 **");
    printf("\n**************************************************************");
    printf("\n**************************************************************");
    printf("\nenter radius and height and slant height of cone");
    scanf("%f%f%f",&r,&h,&l);
    tsa=3.14*r*r+r*l;
    csa=3.14*r*l;
    v=3.14*.33*r*r*h;
    printf("total surface area is : %f\n",tsa);
    printf("curved surface area is : %f\n",csa);
    printf("volume is : %f\n",v);
    return 0;
}

Output

**************************************************************
**************************************************************
** WAP to find curved & total surface area & volume of cone **
**                     Created by Sheetal Garg              **
**                      Assistant Professor                 **
**                      Phone No:9467863365                 **
**************************************************************
**************************************************************
enter radius and height and slant height of cone
5
4
7
total surface area is : 113.500000
curved surface area is : 109.900002
volume is : 103.620003
error: You can only copy the programs code and output from this website. You are not allowed to copy anything else.