Hello,
This is my first day with you. I would be very grateful if you could help me.
This figure explains the code about the interactions between two components in time t.
http://www12.0zz0.com/2010/05/23/22/513194319.jpg
The total number of interactions = 13
Group1 consists of components 1, 2 and 3 ( the percentage of interaction 3/13 ).
Group2 consists of components 4, 5 ( the percentage of interaction 2/13 ).
Group3 consists of components 0 ( the percentage of interaction 1/13 ).
Write a program that declares an n*n matrix name (Data) where n is the number of components; the contents of Data (entered by the user) are the number of interactions between any pair of components. In the above figure, Data [1, 2] = 3 because number of interactions between components 1 and 2 is 3. Output of your program is a list of groups with their interactions percentage
I really appreciate any help.