logo codesdope

on runing below code nothing is displayed.If I remove a=a+1 then it is printing why so? ignore the header & other declaration

   mahi6683

for (a=4;a<=100;a++)
    {
        if ((a%2!=0)&&(a%3!=0))
           {
               printf("%d\n",a);
           }

     a=a+1;

    }

 


Answers

Write your answer
Close

Welcome.please sign up.

Close

Welcome.please login.