I have this code in a function, but when it runs it does a long pause and then it says:
$floating point exception I am assuming this is due to multiple conditions in the for loop, but I don't know why it is wrong. Any ideas?
int i,j,number=5; for (i = 2; (i < number || j==1); i++) { if (number%i==0) { j = 1; } }
i,j, andnumber?