Skip to content

Commit

Permalink
fix: fix typo doOp -> DoOp
Browse files Browse the repository at this point in the history
  • Loading branch information
zanninso committed Jul 20, 2023
1 parent 79c9245 commit 32fe085
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions subjects/java/piscine/DoOp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Write a function `operate` that returns the result of the given arithmetic opera
### Expected Functions

```java
public class doOp {
public class DoOp {
public static String operate(String[] args) {
// your code here
}
Expand All @@ -27,10 +27,10 @@ Here is a possible ExerciseRunner.java to test your function :
```java
public class ExerciseRunner {
public static void main(String[] args) {
System.out.println(doOp.operate(new String[]{"1","+","2"}));
System.out.println(doOp.operate(new String[]{"1","-","1"}));
System.out.println(doOp.operate(new String[]{"1","%","0"}));
System.out.println(doOp.operate(args));
System.out.println(DoOp.operate(new String[]{"1","+","2"}));
System.out.println(DoOp.operate(new String[]{"1","-","1"}));
System.out.println(DoOp.operate(new String[]{"1","%","0"}));
System.out.println(DoOp.operate(args));
}
}
```
Expand Down

0 comments on commit 32fe085

Please sign in to comment.