Advertisement
Josif_tepe

Untitled

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