Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2014
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.11 KB | None | 0 0
  1. int x, y, z;
  2.  
  3.     cin >> x >> y >> z;
  4.    
  5. while (x <= z)
  6. {
  7.     x += y;
  8.     cout << x << x += y;
  9.  
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement