End term not printing

plzz tell error in my code