square roost

This commit is contained in:
zainabdnaya 2022-06-20 16:36:56 +01:00 committed by Dav Hojt
parent f3a1b74bd9
commit ea8573457b
1 changed files with 10 additions and 8 deletions

View File

@ -19,16 +19,18 @@ Here is a possible program to test your function:
```go
package main
import "fmt"
import (
"fmt"
"piscine"
func main() {
fmt.Println(SquareRoot(9))
fmt.Println(SquareRoot(16))
fmt.Println(SquareRoot(25))
fmt.Println(SquareRoot(26))
fmt.Println(SquareRoot(0))
fmt.Println(SquareRoot(-1))
fmt.Println(SquareRoot(1))
fmt.Println(piscine.SquareRoot(9))
fmt.Println(piscine.SquareRoot(16))
fmt.Println(piscine.SquareRoot(25))
fmt.Println(piscine.SquareRoot(26))
fmt.Println(piscine.SquareRoot(0))
fmt.Println(piscine.SquareRoot(-1))
fmt.Println(piscine.SquareRoot(1))
}
```