fork download
  1. program loop
  2. integer row, col
  3. integer mat(2,2)
  4. integer summ
  5. mat (1, 1) = 1
  6. mat (1, 2) = 2
  7. mat (2, 1) = 3
  8. mat (2, 2) = 4
  9.  
  10. Do row = 0, 2, 1
  11. Do col = 0, 2, 1
  12. print *, mat(row, col)
  13. End Do
  14. End Do
  15.  
  16. print *, summ
  17.  
  18. end program loop
Success #stdin #stdout 0.01s 2620KB
stdin
Standard input is empty
stdout
 -1079825020
   134513920
           3
           1
           1
           2
   134513920
           3
           4
   134513920