To become a programmer you have to follow this requirements must be passionate in this sector.otherwise after somedays you will get bored and give up this sector.and you will waste your lots of time.
2.and you can not awake night to learn programming but if you do you will also get bored and give up
3.Finally you must need a Guru or teacher who can give you guideline all the time.