SHARE
TWEET

aac

a guest Feb 26th, 2020 111 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2. #include<conio.h>
  3. #include<math.h>
  4. int main()
  5. {
  6.     int i,j,n;
  7.     float A[40][40],x[40],z[40],e[40],zmax,emax;
  8.     printf("\n enter the order of matrix");
  9.     scanf("%d",&n);
  10.     printf("\n enter matrix element row-wise\n");
  11.     for(i=1;i<=n;i++)
  12.     {
  13.         for(j=1;j<=n;j++)
  14.         {
  15.             printf("A[%d][%d]=",i,j);
  16.             scanf("%f",&A[i][j]);
  17.            
  18.         }
  19.     }
  20.     printf("\n enter the column vector\n");
  21.     for(i=1;i<=n;i++)
  22.     {
  23.         printf("x[%d]=",i);
  24.         scanf("%f",&x[i]);
  25.        
  26.     }
  27.     do
  28.     {
  29.         for(i=1;i<=n;i++)
  30.         {
  31.             z[i]=0;
  32.             for()
  33.         }
  34.     }
  35. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top