Write C Program to Find the Frequency of Odd & Even Numbers in the given Matrix
belongs to collection: C language matrix programs with an examples
All Answers
total answers (1)
belongs to collection: C language matrix programs with an examples
total answers (1)
I have used CodeBlocks compiler for debugging purpose. But you can use any C programming language compiler as per your availability.
Result:
Enter the order of the matrix
3
3
Enter the coefficients of matrix
1
2
3
4
5
6
7
8
9
The given matrix is
1 2 3
4 5 6
7 8 9
The frequency of occurance of odd number = 5
The frequency of occurance of even number = 4
need an explanation for this answer? contact us directly to get an explanation for this answer