Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<time.h>
- #include<cstdlib>
- using namespace std;
- int *tablica = new int[10];
- tablica[1] = 1;
- int main()
- {
- cout << :rand() << endl;
- int liczba = rand();
- cout << liczba <<:endl;
- liczba = std::rand();
- cout << liczba << endl;
- return 0;
- }
- int main ()
- {
- int liczba = 5, liczba2 = 2;
- cout << "5/2 int << liczba/liczba2 << std::endl;
- cout << "5/2 float
- << static_cast<float>(liczba)/static_cast<float>(liczba2) << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement