Computer Science, asked by KTDBROS, 6 months ago

Can anyone tell me what is wrong?
else is being executed even when if is true

Attachments:

Answers

Answered by mayank1702
1

Answer:

I think you should use mod operator since

here 3/2= 1 even if it's odd result will not be 0.

Try using mod operator

Similar questions