You won't learn much if you keep asking questions like that.
You need do do homework first, and read enough in the language and programming, do enough simple exercises. Then you will be able to ask questions which will be much more useful for you.
Please see my learning suggestions:
I have a problem with my program. Please help![
^].
This is the first to read:
Teach Yourself Programming in Ten Years:
http://norvig.com/21-days.html[
^].
—SA