help input captcha to close terminal???
‘’’
package main
import “fmt”
func main() {
fmt.Println(" input capcha to close terminal = 88985522 ")
fmt.Scanln()
}
‘’’
help input captcha to close terminal???
‘’’
package main
import “fmt”
func main() {
fmt.Println(" input capcha to close terminal = 88985522 ")
fmt.Scanln()
}
‘’’
Go can’t close the terminal it is running in.
At least not easily.
Apart from that, where exactly is your problem? Reading the number from terminal? Comparing it with the expectation? Or indeed closing the terminal?
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.