Doubt in pascal triangle code

please tell me pascal triangle code and how to write it