Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
228 B
0
Indexable
Never
cout<<"Sortirani niz je: "<<endl;
for(int i =0; i<kuglice; i++){
	cout<<niz[i]<<endl;
}
sort(niz, niz+kuglice, greater<int>());

cout<<"Sortirani niz je: "<<endl;
for(int i =0; i<kuglice; i++){
	cout<<niz[i]<<endl;
}
}