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