To calculate the area and perimeter of the rectangle and the circle using java
The length and breadth of a rectangle and radius of a circle are input through the keyboard. Write a program to calculate the area and perimeter of the rectangle and the area & circumference of the circle Rectangle: Area==>l*b perimeter==>2(l+b) circle: Area==>Pi*r(2) perimeter==>2pi(r) class Rectangle { public static void main(String args[]) { float l,b,r_area,r_peri,r,c_area,cir; […]