MeehoweCK

Untitled

Nov 30th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.35 KB | None | 0 0
  1. #include <iostream>
  2. #include <ctime>
  3. #include <cstdlib>
  4.  
  5. using namespace std;
  6.  
  7. minMaxRep(int a[], size_t size, int* min, size_t** cMin, int& max, size_t*& cMax)
  8. {
  9.    
  10. }
  11.  
  12. int main()
  13. {
  14.     int tablica[20];
  15.     srand(static_cast<unsigned>(time(nullptr)));
  16.     for(int i = 0; i < 20; ++i)
  17.         tablica[i] = rand() % 100;
  18.    
  19.     return 0;
  20. }
Add Comment
Please, Sign In to add comment