Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- 2
- 3
- 4 int main()
- 5 {
- 6 int tablica[1,5,7,45,18,4,31,38,45,2,3,88,20,74,66];
- 7
- 8 int lastSmallVal =tablica[1];
- 9 int tmpArr[15]{};
- 10 int it=0;
- 11 // SORTOWANIE TABLICY:
- 12 for(int i=0;i<15;i++)
- 13 {
- 14 for(int j=; j>=0;j--)
- 15 {
- 16 it= tablica[i];
- 17 if(tablica[i] < tablica[it++])
- 18 {
- 19 continue;
- 20
- 21 }
- 22 else
- 23 {
- 24
- 25 }
- 26 }
- 27 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement