题解 | #工程时间#
工程时间
https://www.nowcoder.com/practice/9b39f10933f146faa193a4cb9654b067
Printf和c语言的格式很像,整数直接就是%d了。
package main
import (
"fmt"
)
func main() {
fmt.Printf("%d\n",97/7)
fmt.Printf("%d\n",97%7)
}工程时间
https://www.nowcoder.com/practice/9b39f10933f146faa193a4cb9654b067
Printf和c语言的格式很像,整数直接就是%d了。
package main
import (
"fmt"
)
func main() {
fmt.Printf("%d\n",97/7)
fmt.Printf("%d\n",97%7)
}相关推荐