MULTI DIMENSION ARRAYS

Mar 24 2007 7:41 AM
I HAVE BEEN GIVEN THE THIS PROGRAM;VERTICES{1,2,3,4,5} EDGES{(1,3),(2,1),(3,2),(3,5),(4,2),(5,1)}THIS ARE THE LISTS OF VERTICES AND EDGES
IN THE ADJENCY MATRIX,A 1 IN ENTRY ij MEANS THERE IS AN EDGE FROM VERTEX i TO VERTEX j.WRITE A PROGRAM THAT CONVERTS AN ADJENCY MATRIX TO A LIST OF EDGES AND A LIST OF EDGES TO AN ADJENCY MATRIX.DECLARE AN ADJENCY MATRIX TO BE(8*8) AND EDGE LIST TO BE(64*2)