#include <stdio.h>
#include <stdlib.h>
int main()
{
int i,N;
for(i=0;i<5;i++)
{
printf("Enter The Number \n");
scanf("%d", &N);
printf("HELLO %d \n",N);
}
return 0;
}
When i execute the above code in the NetBeans then the output is not being executed line by line all the output is executed together i.e once when the loop end...The problem is printf and scanf are not working