fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int j = 1, num1 = 4;
  6. while (++j <= 10)
  7. {
  8. num1++;
  9. }
  10. cout<<num1;
  11. return 0;
  12. }
Success #stdin #stdout 0s 5476KB
stdin
Standard input is empty
stdout
13