Skip to content

Commit 9fbeb8f

Browse files
authored
fix constant
1 parent 25eeeb8 commit 9fbeb8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Rent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ public class Rent
1010
private Date _returnDate;
1111

1212
// Constant in the class
13-
private static final int TYPE_A_PRICE = 1OO;
13+
private static final int TYPE_A_PRICE = 100;
1414
private static final int TYPE_B_PRICE = 150;
15-
private static final int TYPE_C_PRICE = 18O;
15+
private static final int TYPE_C_PRICE = 180;
1616
private static final int TYPE_D_PRICE = 240;
1717
private static final int NUM_OF_DAYS_IN_WEEK = 7;
1818
private static final double DISCOUNT = 0.9;

0 commit comments

Comments
 (0)