if..else..if..else code not working properly(coding in C) : <p>I have a question.I think I may have a mistake in my code because my code program(Dev C++) seems not to recognize the "else if" statement.</p>

<p>Here is the code:</p>

<pre><code>#include &lt;stdio.h&gt;
int main()
{
int a = 80;
if(a == 10);
printf("value of a is 10\n");
else if(a == 20);
printf("value of a is 20\n");
else if(a == 30);
printf("value of a is 30\n");
else
printf("none of the values match");
printf("the real value of a is: &amp;d", a);

system("PAUSE");
return 0;
}
</code></pre>
