You are viewing a single comment's thread. Return to all comments →
if j % B[i] == 0 then
Shouldn't this be:
if A[j] % B[i] == 0 then
I get the expected output only when I make that change
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and Queries
You are viewing a single comment's thread. Return to all comments →
if j % B[i] == 0 then
Shouldn't this be:
if A[j] % B[i] == 0 then
I get the expected output only when I make that change