結果 : write a java program to calculate perimeter and area of rectangle