Advertisement
Josif_tepe

Untitled

Feb 12th, 2021
126
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 zbir = 0;
  8.     for(int i = 20; i <= 30; i += 1) {
  9.         zbir += i;
  10.     }
  11.     cout << zbir << endl;
  12.     return 0;
  13. }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement