fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main(){
  4. int n;
  5. while (cin >> n){
  6. if (n!=0){
  7. for (int i=1;i<0;i++){
  8. if (i%7!=0){cout << i << " ";
  9. }
  10. }
  11. cout << endl;
  12. }
  13. else { return 0;
  14. }
  15. }
  16. return 0;
  17.  
  18. }
Success #stdin #stdout 0.01s 5424KB
stdin
5
10
20
0
stdout