fork download
  1. #include <stdio.h>
  2. #define MAX 2
  3.  
  4. int main() {
  5. float notas [MAX] [MAX] = {{5.0,7.8},{7.9,8.0}};
  6.  
  7.  
  8.  
  9. printf("\n%.2f %.2f",notas[0][0],notas[0][1]);
  10. printf("\n%.2f %.2f",notas[1][0],notas[1][1]);
  11.  
  12.  
  13. return 0;
  14.  
  15.  
  16. }
  17.  
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
5.00  7.80
7.90  8.00