14,739,359 members
See more: (untagged)
Program that Input is adjacency matrix of 10 vertices ,Output connectivity matrix of 10 vertices.

Pls i need to submit tomorrow and i have no idea on how to begin..Pls help
Posted

## Solution 1

Perhaps you should have started earlier?

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Wiki explains what an Adjacency matrix[^] is, but Wolfram Alpha[^] says :
"The adjacency matrix, sometimes also called the connection matrix, of a..."
So you need to look at your question in detail to work out what kind of transformation you should be applying. We can't code it for you (and since it's your homework wouldn't do so anyway!)

Try it yourself, you may find it is not as difficult as you think!

## Solution 2

what does this means : #define MAX 20