Question: Lets says we have matrix N *N. There is element in the matrix that have value of 1. These values of 1 will create objects.

Lets says we have matrix N *N. There is element in the matrix that have value of 1. These values of 1 will create objects. Make a program in C language and flowchart (for better understanding) to check which matrix has bigger Area (not circumference). If it has the same size print: matrix 1 and 2 has the same size.

Input:

5

01110 01010 01010 01010 01110

01110 01010 01010 01110 00000

Output:

Matrix 1 is bigger than Matrix 2

Input:

3

010 101 010

010 101 010

Output:

Matrix 1 and 2 have the same size

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!