Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int niza[5];
- niza[0] = 10;
- niza[1] = 20;
- niza[2] = 30;
- niza[3] = 40;
- niza[4] = 50;
- int zbir = niza[0] + niza[1] + niza[2] + niza[3] + niza[4];
- cout << zbir << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement