Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C++ by mikuch ( 16 years ago )
#include<stdio.h>

int main()
{
 int i, j, n, wynik;
 int macierz[3][3];
 int macierz2[3][3];
 int b[1][3];
 for(i=0;i<3;i++){
  for(j=0;j<3;j++){   
//   printf("podaj element");
   scanf("%d", &macierz;[i][j]);
  }
 }
j=0;
for(i=0;i<3;i++)
{
 for(j=0;j<3;j++)
 {
  macierz2[i][j]=macierz[i][j]/macierz[i][i];
  macierz2[i+1][i]=macierz2[i][i]*(macierz2[i+1][i] - macierz2[i+1][i]);
 }
}



 for(i=0;i<3;i++){
  for(j=0;j<3;j++){   
   printf("%d ", macierz2[i][j]);
  }
  printf("n");
 }

}

 

Revise this Paste

Your Name: Code Language: