Thread
:
finding an odd number?
View Single Post
10-09-2006, 07:07 AM
#
2
(
permalink
)
redhead
Newbie
Join Date: Jun 2002
Location: Denmark
Posts: 1,705
for N >= 1
N modulus 2, should give 1 for odd 0 for even.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead
View Public Profile
Visit redhead's homepage!
Find More Posts by redhead