Advertisement
atm-irbis

Переменные

Apr 28th, 2014
655
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
D 0.33 KB | None | 0 0
  1. int a; // Простое определение переменной без присвоения ей значения
  2. float x = 4.5; // Переменная x равна 4.5
  3. char z = "s"; // Переменная z содержит "s"
  4.  
  5. real a,b,c; // Можно определять и несколько переменных сразу
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement