josiftepe

Untitled

Jan 27th, 2021
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.    
  6.     int pocetok = 100;
  7.     int kraj = 200;
  8.     while (pocetok <= kraj) {
  9.         cout << pocetok << endl;
  10.         pocetok += 2;
  11.     }
  12.     // 100, 102, 104, 106, ... 200
  13.    
  14.     return 0;
  15. }
  16.  
Advertisement
Add Comment
Please, Sign In to add comment