mirror of https://github.com/01-edu/public.git
Update README.md
This commit is contained in:
parent
0344c096fd
commit
084e1decc3
|
@ -26,6 +26,7 @@ func main() {
|
||||||
fmt.Println(AddIfPositive(-1, 2))
|
fmt.Println(AddIfPositive(-1, 2))
|
||||||
fmt.Println(AddIfPositive(-1, -2))
|
fmt.Println(AddIfPositive(-1, -2))
|
||||||
fmt.Println(AddIfPositive(10,20))
|
fmt.Println(AddIfPositive(10,20))
|
||||||
|
fmt.Println(AddIfPositive(0,20))
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -38,4 +39,5 @@ $ go run .
|
||||||
0
|
0
|
||||||
0
|
0
|
||||||
30
|
30
|
||||||
|
20
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue