I am in AP Java (high school). I'll show you how I'd check for even or odd!
I do not know how to make that box-within-a-reply, so I'll just enter the program application here:


import...