Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- //tip ime_na_niza[dolzina_na_niza] = {element1, element2, ...}
- int niza[5] = {2, 3, 1, 4, 5};
- for(int i = 0; i < 5; i += 1) {
- cout << niza[i] << " ";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment