how to write code in each languages