#include<stdio.h>
main()
{
 float l,b,r,p,c,A;
 printf("Enter the lenght of tringle=\n");
 scanf("%f",&l);
 printf("Enter the breath of tringle=\n");
 scanf("%f",&b);
 printf("Enter the radius=\n");
 scanf("%f",&r);
 A=l*b;
 p=2*(b+l);
 c=2*3.1416*r;
   printf("\nResult:\n");

   printf("\nArea of triangle:%f units\n",A);
   
   printf("p of triangle: %f",p);
   
   printf("\n c of circle: %f",c); 
 
}
If you face any problem so contact me Thank you Contact :- https://www.facebook.com/Teach.Coding

Post a Comment

Protected

Protected by Copyscape
 
Learn Programming © 2017. All Rights Reserved. Shared by S.A.R
Top