i am trying to run the following while loop, but no matter what the input is, it keeps giving me the answer of "numb is 1".
what am I doing wrong?
Code:numb=0 while (year<2009) if((year%4==0 && year %100 !=0), year %400==0) {numb=numb+1; year=year+1;} else {year=year+1;} printf("Numb is %i\n\n",numb);