Program :-
#include <stdio.h>
#include <math.h>
main()
{
float x,y,z,s,area;
printf("enter sides ");
scanf("%f %f %f ",&x,&y,&z);
s = (x + y + z) / 2 ;
printf("area = %f ", sqrt(s*(s - x)*(s - y)*(s-z)) );
}
Output :-
enter sides :
4 4 2
area = 3.87
You can invert your svg easily by using following css code svg { -webkit-filter: invert(100%); /* safari 6.0 - 9.0 */ filter...
No comments:
Post a Comment