how can I send a variable to println?

PaulS:
Well, some of us were able to read the reference material.

cant believe people are insecure enough to feel the need to talk down newcomers

it is good advice though so let me just rephrase, the reference manual has a lot of good information. if you're confused about how a certain command or whatever works, just read through. Really helps you learn the foundation for most of the programs youll be reading/making, which is arguably the most important thing you can know.