Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 276 Bytes
# Odd or Not
# Tells you if a number is odd or not
num is number
mod is number
display "Enter a number: "
accept num
modulo num by 2 in mod
if mod is equal to 0 then
display num " is even." lf
display num " is odd." lf
end if
You can’t perform that action at this time.