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