Friday 7 April 2017

Algorithm to Find Area of a Triangle


Step 1 : Start
Step 2 : Read Side1,Side2,Side3
Step 3 : S = (Side1 + Side2 + Side3) / 2
Step 3 : Area = Root  of ( S * (S - Side1) * (S - Side2) * (S - Side3))
Step 4 : Print Area
Step 5 : Stop

No comments:

Post a Comment

How to Invert an SVG image using CSS ?

You can invert your svg easily by using following css code svg { -webkit-filter: invert(100%); /* safari 6.0 - 9.0 */ filter...