Update print.c

got rid of brackets in first if statement