Computer Science, asked by ishdeepkujur785, 7 hours ago

Write a program to input numbers into a JX3 integer matrix and hnd the sum of all even numbers and edd numbers into it separately​

Answers

Answered by babitasd1980
0

Answer:

Even Number: An even number is an integer that is exactly divisible by 2.

For Example: 8 % 2 == 0. When we divide 8 by 2, it give a reminder of 0. So number 8 is an even number.

If user enters num = 5. Even numbers between 1 to 5 are 2, 4. So we add 2 and 4. i.e., 2 + 4 = 6. We display 6 to the console window as result.

mark me brainlist

Similar questions