Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Area of the triangle
class Rextester { public static void main(String args[]) { int a,b,c; double s,Area; a=5; b=6; c=8; s=(a+b+c)/2; Area =Math.sqrt(s*(s-a)*(s-b)*(s-c)); System.out.println("The area of the triangle is :"+Area); } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Strings Ops
Sieve of Eratosthenes Revisited
Construct Tree from Ancestor Matrix
Dynamic Array
Fibonacci numbers 0 - 93
test1
Print Longest String
reverse integer
Weird float operation!
String reverse
Please log in to post a comment.