How to write g code software

I want to write a book yahoo answers