Skip to content

Commit

Permalink
➕ assignment11
Browse files Browse the repository at this point in the history
  • Loading branch information
Bunlong committed Jun 21, 2021
1 parent da26c17 commit d57d2ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Assignments/Assignment11/Assignment11.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
public class Assignment12 {
public class Assignment11 {
public static void main(String[] args) {
int result = sumFactor(new int[]{3, 0, 2, -5, 0});
System.out.println(result);
Expand Down
4 changes: 2 additions & 2 deletions Assignments/Assignment11/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Assignment12
# Assignment11

The sum factor of an array is defined to be the number of times that the sum of the array appears as an element of the array.

Expand All @@ -23,7 +23,7 @@ The function signature is `int sumFactor(int[ ] a)`
### Solution

```java
public class Assignment12 {
public class Assignment11 {
public static void main(String[] args) {
int result = sumFactor(new int[]{3, 0, 2, -5, 0});
System.out.println(result);
Expand Down

0 comments on commit d57d2ca

Please sign in to comment.