Am understand a program but we can not write a program why?????
Its ok understanding programming and program is the first and most important step..you have to be strong in making logics..just try to be thoughtful..its like you have to find a route through which you can solve a problem. Programming is just like that..start with simple programs that involve simple logics..then advance further.but being logical is the most important thing in programming.
Means there is no practices .... You have to practice once then automatically u should write a code
You need to practice and mire study