#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

Emoticon
:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

Protected

Protected by Copyscape
 
Learn Programming © 2017. All Rights Reserved. Shared by WpCoderX
Top