Advertisement
Guest User

Untitled

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