WAP to find whether the input number is odd or even?

ALK
By -
0

ANS:
CLS
Input "Enter any number:", number
remainder = number MOD 2
if remainder = 0 then
 print number;"is even number."
 else
 print number; "is odd number."
END if
END

Post a Comment

0Comments

Feel free to leave your comment below or get in touch with me on WhatsApp/Viber number: +9779844128670

Post a Comment (0)

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Learn more
Ok, Go it!