I wanted to check if number was odd or even. please help me out.
1 Like
A simple formula should do it:
if the operation above returned 0 so it’s an even number, else , it’s an odd number.MyNumber variable, is the number that you check it it’s an odd or even.
5 Likes
Thank you helped a lot. Happy koding
2 Likes
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.