I was wondering how I would write coding if a person entered data exactly as follows below:
{(2,1),(3,2)}
And you had to read in only the numbers and discard the brackets and commas and you had to read it into a two dimensional array that would print an adjaceny matrix similar to this:
0 0 0...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.