Skip to content

Commit

Permalink
Update AreaAndPerimeterOfARectangle.java
Browse files Browse the repository at this point in the history
 *  Perimeter = 2 x (Length + Width)
  • Loading branch information
unfeifei committed Apr 24, 2015
1 parent 4b99c8c commit 1d4c69d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* the area and perimeter of the recrangle.
*
* Area = Length x Width
* Perimeter 2 x Length x Width
* Perimeter = 2 x (Length + Width)
*
* SAMPLE RUN:
* Enter Length: 7
Expand All @@ -24,7 +24,7 @@ public class AreaAndPerimeterOfARectangle {
public static void main(String[] args) {
// declare variables

// get length and with inputs
// get length and width with inputs

// perform area, perimeter calculations

Expand Down

0 comments on commit 1d4c69d

Please sign in to comment.