Advertisement
Guest User

Untitled

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