Advertisement
Josif_tepe

Untitled

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