mirror of https://github.com/01-edu/public.git
fix(fooddeliverytime): miss import piscine and add second # to the title
This commit is contained in:
parent
9cd626d8b6
commit
a46cf4285b
|
@ -1,4 +1,4 @@
|
|||
# fooddeliverytime
|
||||
## fooddeliverytime
|
||||
|
||||
### Instructions
|
||||
|
||||
|
@ -27,13 +27,16 @@ Here is a possible program to test your function:
|
|||
```go
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
import (
|
||||
"fmt"
|
||||
"piscine"
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Println(FoodDeliveryTime("burger"))
|
||||
fmt.Println(FoodDeliveryTime("chips"))
|
||||
fmt.Println(FoodDeliveryTime("nuggets"))
|
||||
fmt.Println(FoodDeliveryTime("burger") + FoodDeliveryTime("chips") + FoodDeliveryTime("nuggets"))
|
||||
fmt.Println(piscine.FoodDeliveryTime("burger"))
|
||||
fmt.Println(piscine.FoodDeliveryTime("chips"))
|
||||
fmt.Println(piscine.FoodDeliveryTime("nuggets"))
|
||||
fmt.Println(piscine.FoodDeliveryTime("burger") + piscine.FoodDeliveryTime("chips") + piscine.FoodDeliveryTime("nuggets"))
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue