Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- /* TYPY ZMIENNYCH
- bool - wartość logiczna (prawda lub fałsz)
- int - liczby całkowite (np. -5, 10, 1000000, 0, -1234)
- double - liczby zmiennoprzecinkowe (np. 2.45, 1.678, -2.7)
- char - znaki (np. 'i', '7', '.', ' ')
- string - napisy (np. "jakis napis")
- */
- double liczba = 7.5;
- cout << liczba << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement