Computer Science, asked by Priyadarsi, 1 year ago

Write a menu driven prgram in JAVA to find the area of an equilateral triangle, right angle triangle and scalene triangle according to user's choice


DeepuRawat: can u tell me the formula of area of scelene triangle
Priyadarsi: its heron formula
Priyadarsi: 1st step: p= (a+b+c)/2
Priyadarsi: 2nd step: area = squarerootover(p(p-a)(p-b)(p-c))
DeepuRawat: ok
Priyadarsi: you dont have to worry more as i have got my answer
DeepuRawat: ok
Priyadarsi: thank you for lending your eye to my question thanx again
DeepuRawat: np

Answers

Answered by Reba000
3
Hope u understand my handwriting. Ask if u don't
Attachments:
Similar questions