question for coding transivity in c++
a->b b->c then a->c
it should contain a main code reading from boolean matrix class
for ex)input file is
8
0 1
1 2
2 3
3 4
4 5
5 6
6 7
8 is the number of no.
what program should do.
1. check if 0->7 first(0th element)->last
2. check every 5th(5,10,15...) element is to last 5->7
Last edited on