test printf and scanf