a
Construct matrix of 3*2 if
0 *= Lif (
(1+j) is even numbers
is odd numbers
Answers
Answered by
0
Answer:
Step-by-step explanation:
Input : m = 3, n = 3
{ 1, 2, 3 },
{ 4, 5, 6 },
{ 7, 8, 9 }
Output : Frequency of odd number = 5
Frequency of even number = 4
Input : m = 3, n = 3
{ 10, 11, 12 },
{ 13, 14, 15 },
{ 16, 17, 18 }
Output : Frequency of odd number = 4
Frequency of even number = 5
Similar questions