You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

package main
import "fmt"
func main(){
    test()
    fmt.Println("上面的除法操作执行成功。。。")
    fmt.Println("正常执行下面的逻辑。。。")
}
func test(){
    num1:=10
    num2:=5
    result:=num1/num2
    fmt.Println(result)
}


  • No labels