Update ps9.c

cxj: the 5th function