Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main() {
  4.     int numA, numB;
  5.     for (int x = 3; x < 1000; x += 3) { numA = x; }
  6.     for (int y = 5; y < 1000; y += 5) { numB = y; }
  7.     cout << numA + numB;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement