Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Variable type What it means Special Notes
- int Integer Division acts strangely because the answer must be an integer
- float Number that may have a decimal in it Division on a float acts like division on a calculator
- double Number that may have a decimal in it Doubles have more precision (more decimal places) than floats
- char A single keyboard character (a letter or symbol) Arithmetic on chars does not make sense
- string A word (or jumble of letters) Must #include <string> if you want to us
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement