menu
Qammunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Write a method called trianglearea that accepts the three side lengths of a triangle as parameters and returns the area of a triangle with those side lengths. for example, the c…
Ask a Question
Questions
Unanswered
Tags
Ask a Question
Write a method called trianglearea that accepts the three side lengths of a triangle as parameters and returns the area of a triangle with those side lengths. for example, the c…
asked
Aug 26, 2018
32.5k
views
1
vote
Write a method called trianglearea that accepts the three side lengths of a triangle as parameters and returns the area of a triangle with those side lengths. for example, the call trianglearea (8, 5.2, 7.1) should return 18.151176098258745.
Mathematics
college
TMtech
asked
by
TMtech
7.6k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
5
votes
Example method:
double trianglearea(double a, double b, double c){
double s=a+b+c;
return Math.sqrt(s*(s-a)*(s-b)*(s-c));
}
Utkarsh Bhatt
answered
Sep 1, 2018
by
Utkarsh Bhatt
7.6k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Nov 12, 2023
88.0k
views
TriangleArea = 30in²Height = 5inBase = write formula, show work label
Alpan Karaca
asked
Nov 12, 2023
by
Alpan Karaca
7.7k
points
Mathematics
college
1
answer
3
votes
88.0k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.4m
questions
12.2m
answers
Categories
All categories
Mathematics
(3.7m)
History
(955k)
English
(903k)
Biology
(716k)
Chemistry
(440k)
Physics
(405k)
Social Studies
(564k)
Advanced Placement
(27.5k)
SAT
(19.1k)
Geography
(146k)
Health
(283k)
Arts
(107k)
Business
(468k)
Computers & Tech
(195k)
French
(33.9k)
German
(4.9k)
Spanish
(174k)
Medicine
(125k)
Law
(53.4k)
Engineering
(74.2k)
Other Questions
How do you can you solve this problem 37 + y = 87; y =
What is .725 as a fraction
How do you estimate of 4 5/8 X 1/3
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qammunity.org