Advertisement
MeehoweCK

Untitled

Nov 16th, 2020
606
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdlib>
  3. #include <ctime>
  4.  
  5. using namespace std;
  6.  
  7. // napisz funkcję, która zwraca losową liczbę rzeczywistą z przedziału od 0 do 1
  8. double losuj()
  9. {
  10.     // Miejsce na Twój kod
  11. }
  12.  
  13. int main()
  14. {
  15.     cout << "Wylosowano liczbe " << losuj() << endl;
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement