// the theorems you have to use: 1. sum int sum_r(int v[], int n) // adding up the values in the row of a matrix { int s=0; for(int j=0; j0 ! { van=true; max_value=v[i]; // or : oszloposszeg(x,j) like in one of the probems... ind=i; } if( condition && van ) //beta - a felt.! { if(v[i] >max_value) { max_value=v[i]; ind=i; } } } 5. lin.- search int ind; bool l=false; int i=0; while(!l && i