Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- int x = 3;
- int y = 5;
- for (; x < 1000; x += 3) ;
- for (; y < 1000; y += 5) ;
- cout << x + y << "\n";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement