title: GO:I am trying to make a guess My number, but my program will not interpret numbers correctly
body: <pre><code>package main
  
  import "fmt"
  import bf "bufio"
  import "os"
  import "strconv"
  
  type SVC int
  
  func main() {
          fmt.Println("Loaded")
          var gmber = bf.NewScanner(os.Stdin)
          gmber.Scan()
          i := 1
          for i &lt; 40 {
                  fmt.Println("\n")
                  i++
          }
          var input2 = bf.NewScanner(os.Stdin)
          fmt.Println("Make a guess:")
          var input21, err = strconv.Atoi(input2.Text())
          var gmber1, err0 = strconv.Atoi(gmber.Text())
          input2.Scan()
          for {
                  if input21 == gmber1{
                          break
                  }
                  if input21 &gt; gmber1 {
                          fmt.Println("Too high, Guess again")
                          input2.Scan()
                  }
                  if input21 &lt; gmber1 {
                          fmt.Println("Too low, Guess again")
                          input2.Scan()
                  }
          }
          fmt.Println("You win!")
          fmt.Println(err)
          fmt.Println(err0)
  }
  </code></pre>
  
  <p>I when I run this program, my program will always spit out "Too low, Guess again". I input: 100 as the number to be guessed, then guessed the number 101, and it said too low. I just do not really know what to do now, does anybody understand why this program does this?
  NOTES:
  input21 is ALWAYS=to 0 </p>