fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int i=0;
  6. for(; i <=30;)
  7. {
  8. i+=5;
  9. cout<<i<<endl;
  10. }
  11. return 0;
  12. }
Success #stdin #stdout 0s 4404KB
stdin
Standard input is empty
stdout
5
10
15
20
25
30
35