Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void Main(string[] args)
- {
- int[] numbers = { 12, 2, 7, 24, 5 };
- for (int i = 0; i < numbers.Length; i++)
- {
- if (numbers[i] % 2 == 0) Console.WriteLine(numbers[i]);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment