13,297,799 members (48,859 online)
Rate this:
See more:
how to find area of a triangle when its three sides are given using dot net
Posted 3-Oct-12 4:30am

Rate this:

## Solution 1

25.9 million results. Wow.... GOOGLE[^] is your friend and you should visit him often. What you need to do is find a link in the list I've provided which gives you the algorithm and then convert that into the code language of your choice. Happy hunting.
_Amy 3-Oct-12 9:44am

It is giving even more than that. +5! :)
Marcus Kramer 3-Oct-12 9:51am

Thanks...
Rate this:

## Solution 2

You should try this:
```//Suppose your three sides are a, b & c
private double area(double a, double b, double c){
double s = (a + b + c) / 2;
return Math.Sqrt(s * (s - a) * (s - b) * (s - c));
}```

--Amit
Marcus Kramer 3-Oct-12 9:51am

Please don't just provide a code solution to someone asking a blatant homework question. What will the OP learn from that. What we want to do is show them how to figure out the answer. By just giving them something to copy/paste they are not learning anything. (I haven't voted on your answer as it is correct)

Top Experts
Last 24hrsThis month
 ppolymorphe 225 OriginalGriff 150 phil.o 115 JustWatchLittle 100 Richard MacCutchan 95
 OriginalGriff 2,354 Jochen Arndt 1,255 Richard MacCutchan 1,215 ppolymorphe 1,162 Dave Kreskowiak 995