Code:
#include<stdio.h>
#include<conio.h>
void main ()
{
int n,a;
clrscr();
n=1;
do
{
do
{
a=1;
printf("A");
a++;
}while(a<=n);
printf("\n")
n=n+1;
}while(n>=5);
getch();
}
here is the program that shows the error statement missing in n=n+1. Why it shows the error?
Comment