Question: write the java code to implement it . we need a program that will calculate the area of three shapes: Rectangle, Tringle and Circle. Knowing
write the java code to implement it
we need a program that will calculate the area of three shapes: Rectangle, Tringle and Circle. Knowing that:
Rectangle area first second
Tringle area first second
Circle area firstfirst
Define these variables:
First second
Print the area of each shape in a separate line use format specifiers to display only decimal integers of the result.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
