Advertisement
Josif_tepe

Untitled

Apr 11th, 2023
632
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. using namespace std;
  3.  
  4. int main() {
  5.  
  6.     int brojac = 1;
  7.     while(brojac <= 10) {
  8.         cout << brojac << endl;
  9.         brojac++;
  10.     }
  11.    
  12.  
  13.     return 0;
  14. }
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement