fork download
  1. #include <iostream>
  2. #include <math.h>
  3. using namespace std;
  4. int main(){
  5. int nofc,i;
  6. nofc=2;
  7. double imm[nofc][2];
  8. i=0;
  9. imm[0][0]=145;
  10. imm[0][1]=50;
  11. imm[1][0]=160;
  12. imm[1][1]=60;
  13.  
  14.  
  15. while(i<nofc){
  16. cout<<imm[i][0]<<endl;
  17. cout<<imm[i][1]<<endl;
  18. i=i+1;
  19. }
  20. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
145
50
160
60