What is wrong here?
Code:#import<stdio.h> int main (){ int start, end, fact=0; printf("Please enter a starting and larger ending integer so \n " "I can find the factorial of each of those integer numbers between and including \n" "the starting and ending integer numbers which are divisible by 2 as well as by 3\n"); scanf("%d%d",&start,&end); for (int i=start;i=end;i++){ if(i%2&&i%3==0){ fact*=fact; fact=fact-1; printf("%d",fact); } } return 0; }



LinkBack URL
About LinkBacks



