int vector[100]; int matrix[100][100]; int result[100]; void calculate(int n,int m){ int i = 0; int j = 0; int temp = 0; while(i