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

17
17 % 
18