Advertisement
Josif_tepe

Untitled

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