Skip to content

Commit 757241b

Browse files
committed
Merge pull request #2 from mossgreen/patch-1
Update AreaAndPerimeterOfARectangle.java
2 parents 4b99c8c + 1d4c69d commit 757241b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lesson-02/Activities/ChallengeActivity1-AreaAndPerimeterOfARectangle/src/areaandperimeterofarectangle/AreaAndPerimeterOfARectangle.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* the area and perimeter of the recrangle.
77
*
88
* Area = Length x Width
9-
* Perimeter 2 x Length x Width
9+
* Perimeter = 2 x (Length + Width)
1010
*
1111
* SAMPLE RUN:
1212
* Enter Length: 7
@@ -24,7 +24,7 @@ public class AreaAndPerimeterOfARectangle {
2424
public static void main(String[] args) {
2525
// declare variables
2626

27-
// get length and with inputs
27+
// get length and width with inputs
2828

2929
// perform area, perimeter calculations
3030

0 commit comments

Comments
 (0)