SHARE
TWEET

esercizio 3 c

a guest Mar 26th, 2020 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #define M  3       
  4. #define N  3
  5. int main()
  6. {
  7. int i,c;
  8. double a[M][N];
  9.   for(i=0 ; i<=M ; i++)
  10.   {
  11.     for(c=0 ; c<=N; c++)
  12.      
  13.      
  14.     {
  15.      scanf("%lf\n", &a[i][c]);
  16.     }
  17.    
  18.    
  19.   }
  20.    for(i=0 ; i<=M ; i++)
  21.   {
  22.    
  23.     for(c=0 ; c< N; c++)
  24.     {
  25.      printf("%lf\n", a[i][c]);
  26.     }
  27.   }
  28.  
  29. }
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