fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int i, j;
  7. int m = 0;
  8. int n = 0;
  9. for(i = 0; i < 5; i++)
  10. m++;
  11. for(j = 0; j < 5; j++)
  12. n++;
  13. cout<<"m = "<<m<<endl;
  14. cout<<"n = "<<n<<endl;
  15. return 0;
  16. }
Success #stdin #stdout 0s 2896KB
stdin
Standard input is empty
stdout
m = 5
n = 5