Advertisement
MeehoweCK

Untitled

Nov 23rd, 2020
568
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.42 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     /* TYPY ZMIENNYCH
  8.     bool - wartość logiczna (prawda lub fałsz)
  9.     int - liczby całkowite (np. -5, 10, 1000000, 0, -1234)
  10.     double - liczby zmiennoprzecinkowe (np. 2.45, 1.678, -2.7)
  11.     char - znaki (np. 'i', '7', '.', ' ')
  12.     string - napisy (np. "jakis napis")
  13.     */
  14.  
  15.     double liczba = 7.5;
  16.     cout << liczba << endl;
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement