Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- #include<math.h>
- using namespace std;
- int main()
- {
- int n;
- for(;;)
- {
- cin>>n;
- if(n==42) break;
- else
- cout<<n<<endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement