fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // Fill entire array with zeros
  6. float temp[31][24];
  7. int d,h;
  8.  
  9. for(d = 0; d < 31; d++)
  10. for(h = 0; h < 24; h++)
  11. temp[d][h] = 0.0;
  12. return 0;
  13. }
Success #stdin #stdout 0s 5324KB
stdin
Standard input is empty
stdout
Standard output is empty