Advertisement
Josif_tepe

Untitled

Nov 24th, 2023
533
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5.  
  6. int main()
  7. {
  8.     int x = 2;
  9.     while (x <= 100) {
  10.         cout << x << endl;
  11.        
  12.         x += 2;
  13.        
  14.     }
  15.  
  16.     return 0;
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement