fork(1) download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main(void) {
  6. double myArr[2][8] = { {700,730,760,790,810,840,910,1000},
  7. {0.011,0.035,0.105,0.343,0.789,2.17,20,145} };
  8.  
  9. for (int i = 0; i < 2; ++i)
  10. {
  11. for (int j = 0; j < 8; ++j)
  12. {
  13. cout << " " << myArr[i][j];
  14. }
  15. cout << endl;
  16. }
  17. return 0;
  18. }
  19.  
Success #stdin #stdout 0s 3412KB
stdin
Standard input is empty
stdout
 700 730 760 790 810 840 910 1000
 0.011 0.035 0.105 0.343 0.789 2.17 20 145