java question
Asheville Joe
josephj at main.nc.us
Sun Sep 7 23:10:21 EDT 2003
I don't know java, but shouldn't it just be an else, not an else if?
Joe
Riga, Anthony wrote:
>Anyone know java? I need to be able to find out if a number is even or odd when a user inputs the number into a text box or in the bash screen.I know to use the modulus % and did if(number1 % 2 == 0)
> number is even;
> System.out. println("number is even");
> else if
> odd;
>
>
>
>
More information about the nflug
mailing list