Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class OddOrEvenIntegers
- {
- static void Main()
- {
- int number = int.Parse(Console.ReadLine());
- if ((number & 1) == 1)
- {
- Console.WriteLine("odd : " + true);
- }
- else
- {
- Console.WriteLine("odd : " + false);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement