Problem #487 CORE JAVA PROGRAMMING

Write a Java program to create a class called "Rectangle" with width and height attributes. Calculate the area and perimeter of the rectangle.

Your Solution