Skip to content

Commit

Permalink
Fix code example in 1.5 calculating
Browse files Browse the repository at this point in the history
  • Loading branch information
Redande committed Oct 17, 2023
1 parent 2c24031 commit 61a040b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/part-1/5-calculating.md
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ System.out.println(kokonaisluku);
``` -->

```java
int integer = 3.0 / 2;
int integer = (int) 3.0 / 2;
System.out.println(integer);
```

Expand Down

0 comments on commit 61a040b

Please sign in to comment.