title: Error: Misplace Else
body: <p>I tried to print the largest number in the array but there's an error showing misplaced else. I tried putting brackets around but there's still an error in it. I don't have an idea why there is a misplaced else error. Please help : >.&lt;</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;conio.h&gt;
  
  void main()
  {
    int lar, yem;
    clrscr();
    int aray[10];
    for (yem = 0; yem &lt; 10; ++yem)
    {
      printf("Input numbers:");
      scanf("%d", &amp;aray[yem]);
    }
  
    lar = aray[0];
  
    for (yem = 1; yem &lt; 10; ++yem)
    {
      if (aray[yem] &gt; lar);
        lar = aray[yem];
      else
        ++yem;
  
      printf("Biggest: %d\n", lar);
     }
      getch();
  }
  </code></pre>