title: The program does not seem to be exiting the loop. Why is that?
body: <p>This is a simple for loop which the program cannot exit.</p>
  
  <pre><code>for(j=4;j&lt;8;j++)
  {
      label4:
      b=(rand()%100+1)/1000;
      temp1a[l]=(chrom[i][j]*(0.1-b))+(b*chrom[i+1][j]);
      temp2a[l]=(chrom[i+1][j]*(0.1-b))+(b*chrom[i][j]);
      if(temp1a[l]&gt;0.1&amp;&amp;temp2a[l]&gt;0.1)
      {
          l++;
          continue;
      }
      else
      {
          goto label4;
      }
  }
  printf("Initial temp arrays stored\n");
  </code></pre>
  
  <p>The end statement is not being printed and there is no output. Can someone please help me out.</p>