Advertisement
Josif_tepe

Untitled

Nov 3rd, 2023
643
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. int main() {
  6.     int i = 1;
  7.     //i = 11
  8.     while(i <= 10) {
  9.         cout << i << endl;
  10.         i += 1;
  11.     }
  12.    
  13.     return 0;
  14. }
  15.  
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement