How To Write Output Of A Program