Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <math.h>
- void leggi_matrice(int,double**);
- main()
- {
- int n; int i,j;
- printf("\n Inserisci il numero di equazioni del sistema: n = ");scanf("%d",&n);
- double b[n]; double** A;
- leggi_matrice(n,A);
- }
- void leggi_matrice(int n, double** A)
- {
- int i,j;
- for(i=1;i<=n;i++)
- for(j=1;j<=n;j++)
- A[i][j]=rand()%n;
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement