Set correct printing format as specified in assignment.