Skip to content

Commit 0fdbcc3

Browse files
author
Keshav
committed
remove extra line and change amount value
1 parent 218c130 commit 0fdbcc3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dynamic Programming/CoinChange.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class CoinChange {
99
// Driver Program
1010
public static void main(String[] args) {
1111

12-
int amount = 3;
12+
int amount = 12;
1313
int[] coins = {2, 4, 5};
1414

1515
System.out.println("Number of combinations of getting change for " + amount + " is: " + change(coins, amount));
@@ -76,5 +76,4 @@ public static void printAmount(int[] arr) {
7676
}
7777
System.out.println();
7878
}
79-
8079
}

0 commit comments

Comments
 (0)