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