title: How can I stop my golang loop when the input less than nine?
body: <pre><code>var (
          value1, value2 float64
      )
  for value1 &lt; 9 || value2 &lt; 9 || value1 &lt; 9 &amp;&amp; value2 &lt; 9 {
      fmt.Print("Masukan berat belanjaan di dalam kantong : ")
      fmt.Scan(&amp;value1, &amp;value2)
  }
  
  fmt.Println("Program Selesai")
  </code></pre>
  
  <p>I want the program doing looping for showing input from user and stop when one of two input is less than 9. But the program always stop when both of value is more than or equals 9. Help me to fix it.</p>