Can you scan user input as an integer with bufio in golang?

后端 未结 0 575
野趣味
野趣味 2021-01-01 15:34

I\'m trying to get the input from the user in the form of an integer, for example:-

package main

import (
    "bufio"
    "fmt"
    "         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题