Guest User

Untitled

a guest
Feb 11th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include<iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int n=0;
  8.  
  9. while(n!=42)
  10. {
  11. std::cin>>n;
  12. if(n!=42)
  13. std::cout<<n<<endl;
  14. }
  15. return 0;
  16. }
Add Comment
Please, Sign In to add comment