Advertisement
Josif_tepe

Untitled

Oct 11th, 2022
891
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.  
  7. int main() {
  8.     int a = 1;
  9.    
  10.     while(a < 20) {
  11.         cout << a << " ";
  12.         a = a + 1;
  13.     }
  14.     return 0;
  15. }
  16. // 13
  17. // 10 13 3
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement