Create a program that checks which numbers in an array are even

تفاصيل العمل

Requirements:

1.

Create a class ArrayChecker with the following methods:

boolean isEven(int number): Checks if a number is even.

void printEvenNumbers(int[] numbers): Prints all even numbers in the array using a loop and if condition.

2.

In the main method, test the program with an array of 10 integers.

بطاقة العمل

اسم المستقل
عدد الإعجابات
0
عدد المشاهدات
17
تاريخ الإضافة
تاريخ الإنجاز
المهارات